-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(hdom-canvas): implement drawing state inheritance & restoration
- add mergeState() & restoreState() to apply & undo only edited attribs - add CTX_ATTRIBS alias mappings & DEFAULTS - rename beginShape() => applyTransform() - rename createTree() => drawTree() - remove export flags from shape fns - add @thi.ng/api dep
- Loading branch information
1 parent
d93efa8
commit ccbf53c
Showing
2 changed files
with
208 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters