Jürg Lehni
db82f41151
Update year, author email addresses and links
2020-05-23 22:24:42 +02:00
Jürg Lehni
b5c753f23d
Improve test for #1651
...
Move to the right place and simplify to only test against a non-invertible matrix.
2019-06-19 22:05:26 +02:00
sapics
be4199b6eb
Update copyright year to 2019
2018-12-27 16:13:01 +09:00
sapics
cfc5a912da
Replace url to avoid redirection
...
Replace http://jonathanpuckey.com to https://puckey.studio
2018-11-14 11:24:32 +01:00
Jürg Lehni
673d157f31
Implement unit tests for #1116
...
Closes #1116
2017-01-08 15:07:40 +01:00
Jürg Lehni
cbe41c536e
Boolean: Return the full winding object from _getWinding() and use it to improve PathItem#contains() with even-odd full-rule.
...
Also store the full winding object on the processed segments, to have more information available in boolean operations.
2016-07-22 15:46:42 +02:00
Jürg Lehni
3d57216ffe
Update test for #944 to work with new way of handling compound-paths.
...
But keep deactivated as it is currently failing, see #1116
2016-07-22 13:15:05 +02:00
Jürg Lehni
a0417040f8
Improve handling of sub-path orientation in CompoundPath.
...
Remove automatic orientation on insertion, as it caused more troubles than solved problems, in favor of the new PathItem#reorient() method, or the even-odd fill-rule.
Closes #590 , #1029
2016-07-21 15:21:45 +02:00
Jürg Lehni
2e054ecf47
Deactivate unit test for #944 edge case for now…
2016-07-18 16:13:33 +02:00
Jürg Lehni
a1666a9b82
Implement additional unit tests for path#getInteriorPoint()
2016-07-17 23:10:47 +02:00
Jürg Lehni
38e5fc1488
Tests: Reference GitHub issues where they're knonw in PathItem#contains() tests.
2016-07-14 09:32:29 +02:00
Jürg Lehni
e1961c2b91
Implement unit test and changelog entry for #1064
...
Closes #1064 .
2016-06-10 10:29:38 +02:00
Jürg Lehni
a59a5354fb
Clean-up unit test for #943 and add edge case from #944
...
See https://github.com/paperjs/paper.js/pull/944#issuecomment-180370569
2016-02-05 21:18:16 +01:00
iconexperience
e03c8cd198
Replace the "straight curves with zero-winding" test with a more comprehensive one containing more special cases. Also, this test requires that all points on a curve of a path must be counted as inside the path.
2016-02-05 12:45:33 +01:00
Jürg Lehni
340a1e2a5f
Rename curve-time in API from 'parameter' to 'time'
...
And create separate versions of methods that receive curve-time arguments instead of offsets.
Curve#getNormalAt(time, true) -> #getNormalAtTime(true)
Curve#divide() -> #divideAt(offset) / #divideAtTime(time)
Curve#split() -> #splitAt(offset) / #splitAtTime(time)
Curve#getParameterAt(offset) -> #getTimeAt(offset)
Curve#getParameterOf(point) -> getTimeOf(point)
Curve#getPointAt(time, true) -> #getPointAtTime(time)
Curve#getTangentAt(time, true) -> #getTangenttTime(time)
Curve#getNormalAt(time, true) -> #getNormalAtTime(time)
Curve#getCurvatureAt(time, true) -> #getCurvatureAtTime(time)
CurveLocation#parameter -> #time
Path#split(offset/location) -> #splitAt(offset/location)
Closes #563
2016-02-02 11:59:53 +01:00
Jürg Lehni
4c84c3dad5
Tests: Start getting QUnit tests to work on Node.js
...
Work in progress…
2016-01-31 12:43:20 +01:00
Jürg Lehni
9d4066da1c
Implement unit tests for getWinding() and zero-winding curves.
...
Closes #819
2015-12-30 21:55:20 +01:00
Jürg Lehni
a7a07fb6d5
Update JSDoc and do some documentation spring-cleaning.
...
- Convert from {@code ...} to shorter `...`
- Reformat some documentation comment blocks
- Update copyright notices
2015-12-30 21:55:19 +01:00
Jürg Lehni
da82116501
Rework handling of weighted and normalized curve tangents and normals.
...
Relates to #563
2015-08-19 17:15:41 +02:00
Jürg Lehni
48cb05a181
Replace tabs with 4 white-spaces.
2014-08-16 19:24:54 +02:00
Jürg Lehni
42ab9bbda7
Improve unit tests for CompoundPath#contains()
2014-04-28 16:42:34 +02:00
hkrish
9e8dbc7c3e
Fix false negative and positive in the PathItem_Contains test file.
2014-02-24 19:11:32 +01:00
Jürg Lehni
f6061905be
Streamline PathItem_Contains tests and add more tests.
2014-02-19 23:53:06 +01:00
Jürg Lehni
641514cbf3
Rename Item_Contains tests to PathItem_Contains and add more failing tests for #400 .
2014-02-19 14:35:04 +01:00