-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* removed 'auto' option for options.round, the reason is the high duration of getting the path bounding box at initialization; * the default `origin` option value is no longer 'auto' but [0, 0, 0]; * conversion tools no longer make use of checks (EG: isPathArray) to remove bottlenecks at constructor initialization; * fixed issue with `pathToRelative` where additional MoveTo segments didn't get converted to relative #40 ; * fixed a small issue with `pathToAbsolute` with additional relative `m` segments not properly processed; * updated splitPath to work with relative arrays * removed `pathFactory` (an elegant solution but not very fast) in favor of the below mentioned; * removed `replaceArc` it's no longer needed; * added new tools for each segment type for calculating length, and bbox as well as finding a point at length; * fixed a small issue with Arc segments where getting point at given length was also finding points inside the shape and not in stroke; * further performance improvements #44; * updated tests; * updated docs / demo: added path total length, point at length and bbox; * updated dependencies.
- Loading branch information
Showing
48 changed files
with
2,501 additions
and
1,849 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.