Jürg Lehni
|
75a209c002
|
Handle more special cases in winding algorithm.
|
2013-10-18 15:15:54 +02:00 |
|
Jürg Lehni
|
5d0fd8f970
|
Implement Style#windingRule and use it in Path#contains().
|
2013-10-18 14:54:13 +02:00 |
|
Jürg Lehni
|
4f27be8f12
|
Include new, improved point in path algorithm based on winding number.
It's also possible to switch to using the canvas's native isPointInPath() through options.nativeContains
|
2013-10-18 14:22:59 +02:00 |
|
Jürg Lehni
|
a07538b205
|
Use same tolerance in Curve.isLinear() as in Curve#isLinear().
|
2013-10-17 20:19:34 +02:00 |
|
Jürg Lehni
|
085fa3e1c6
|
Set named arguments at the end, since some depend on geometry to be defined (e.g. #clockwise).
|
2013-10-17 14:03:05 +02:00 |
|
Jürg Lehni
|
73d2c34088
|
Implement item-level #equals() method and clean up other equals methods.
|
2013-10-17 13:08:54 +02:00 |
|
Jürg Lehni
|
9976033655
|
Implement serialization of selection.
|
2013-10-17 12:04:11 +02:00 |
|
Jürg Lehni
|
3958d35f28
|
Change behavior of Path#fullySelected.
Setting it on empty paths does the same as Path#selected.
|
2013-10-17 12:03:46 +02:00 |
|
Jürg Lehni
|
51cf1cfec6
|
Clean up Path#toShape().
|
2013-10-16 23:35:50 +02:00 |
|
Jürg Lehni
|
c4c7a37993
|
Implement Path#toShape(), Segment#isColinear(), Segment#isOrthogonal() and Segment#isArc().
|
2013-10-16 23:10:03 +02:00 |
|
Jürg Lehni
|
b581c84d8b
|
Move CompoundPath#reduce() to Item#reduce().
|
2013-10-16 16:10:28 +02:00 |
|
Jürg Lehni
|
b325aebc77
|
Docs: More smaller fixes.
|
2013-10-16 15:03:29 +02:00 |
|
Jürg Lehni
|
543609c0c6
|
Have Path.Ellipse constructor support negative radius values correctly.
|
2013-10-16 14:25:14 +02:00 |
|
Jürg Lehni
|
c945bf7908
|
Docs: Various smaller clean ups.
|
2013-10-16 14:20:13 +02:00 |
|
Jürg Lehni
|
3af179e2cf
|
Docs: Improve Path constructors.
|
2013-10-16 14:19:25 +02:00 |
|
Jürg Lehni
|
41d6650666
|
Add support for named center & radius arguments to Path.Ellipse.
|
2013-10-16 13:32:40 +02:00 |
|
Jürg Lehni
|
4b636dd31c
|
Clean up Path constructors code.
|
2013-10-16 13:26:08 +02:00 |
|
Jürg Lehni
|
8fdcbce5ac
|
Improve argument reading in Segment.
|
2013-10-16 13:15:08 +02:00 |
|
Jürg Lehni
|
a3d0e0d462
|
Clean up throw statements.
Never throw plain strings.
|
2013-10-14 16:05:50 +02:00 |
|
Jürg Lehni
|
24e46bee60
|
Merge branch 'refs/heads/boolean-fix'
|
2013-10-08 20:50:47 +02:00 |
|
Jürg Lehni
|
0860cdd941
|
Clean up code a bit.
|
2013-10-08 20:49:24 +02:00 |
|
Jürg Lehni
|
9103c19e6f
|
Fix issues with #dashOffset when emulating native dashes.
Closes #303.
|
2013-10-08 10:50:59 +02:00 |
|
Jürg Lehni
|
1ee6bb7e79
|
Use isZero() when checking for straight curves in Curve.getLength()
|
2013-09-23 08:13:32 -07:00 |
|
Jürg Lehni
|
509ac48951
|
Fix indentation levels.
|
2013-09-22 18:18:22 -07:00 |
|
Jürg Lehni
|
cae4520665
|
Simplify addCurveLineIntersections() code.
|
2013-09-22 18:18:03 -07:00 |
|
hkrish
|
8434b4bebe
|
Fix: Syntax error!
|
2013-09-22 17:49:10 +02:00 |
|
hkrish
|
f9b4321a56
|
Boolean -fix: Interpolate to find the parameter of intersection in linear curve segments
|
2013-09-21 17:26:14 +02:00 |
|
hkrish
|
0a22211393
|
Conform to paperjs coding style.
|
2013-09-21 15:26:14 +02:00 |
|
hkrish
|
4f54ac1f4c
|
Boolean -fix: Correctly perform boolean operations regardless of the input paths' winding direction
|
2013-09-17 19:50:13 +02:00 |
|
hkrish
|
669fb1638a
|
Boolean -fix: Preserve the order of intersections found (Curve-Line) according to the PathItem they belong to.
|
2013-09-13 02:44:51 +02:00 |
|
hkrish
|
abe0e5e059
|
Boolean -fix: CurveLocation now keeps track of the correct segment at intersections
|
2013-09-13 00:08:43 +02:00 |
|
Jürg Lehni
|
19c7788617
|
Fix documentation irregularities.
|
2013-08-23 19:45:28 -07:00 |
|
Jürg Lehni
|
6b19f25f4b
|
Fix typos in comments.
|
2013-08-08 15:21:35 -07:00 |
|
Jürg Lehni
|
aa4d990c90
|
Move and unify handling of Item#_set(props) to new Item#_initialize(), and add support for props.insert = false.
|
2013-07-21 15:45:22 -07:00 |
|
Jürg Lehni
|
93c90d0cd8
|
Do not insert boolean operation clones into DOM.
|
2013-07-19 18:46:28 -07:00 |
|
Jürg Lehni
|
b7aea1e527
|
Use insert: false option in creation of all clones.
Still needs implementing in Item constructor.
|
2013-07-19 18:42:13 -07:00 |
|
Jürg Lehni
|
20a17f2939
|
Implement insert parameter in Item#clone() to control DOM insertion.
Defaults to true. Also insert in the right place now, above the original.
|
2013-07-19 18:27:00 -07:00 |
|
Jürg Lehni
|
ef4eee1064
|
Pass true for isParameter in Curve#divide() calls.
Closes #252.
|
2013-07-04 19:39:55 -07:00 |
|
Jürg Lehni
|
e8765d18d5
|
Make argument reading more flexible by introducing options object for readNull and clone, and passing it on to the constructor through this.__options for additional values.
|
2013-06-28 07:37:03 -07:00 |
|
Jürg Lehni
|
8f254202e8
|
Use new @operator tag to mark math operator methods.
|
2013-06-28 05:59:07 -07:00 |
|
Jürg Lehni
|
6833e9d8e0
|
Fix {@default 0.5} values in documentation.
|
2013-06-27 18:15:10 -07:00 |
|
Jürg Lehni
|
e63edba0b5
|
Clean up various documentations a bit.
|
2013-06-27 18:03:03 -07:00 |
|
Jürg Lehni
|
7ade053dea
|
Move Path.Circle constructor above Path.Rectangle.
|
2013-06-27 17:54:00 -07:00 |
|
Jürg Lehni
|
f9925a71ea
|
Improve documentation for Path#split(), Curve#divide() and Curve#split().
Closes #189.
|
2013-06-27 17:18:57 -07:00 |
|
Jürg Lehni
|
9f5b543ab5
|
Fix getCurveAt() signature.
|
2013-06-27 17:13:00 -07:00 |
|
Jürg Lehni
|
38db18c2e1
|
Remove isParameter from Curve.evaluate()
|
2013-06-27 17:12:35 -07:00 |
|
Jürg Lehni
|
c123468d7a
|
Clean up Path#join() code.
|
2013-06-27 16:06:24 -07:00 |
|
Jürg Lehni
|
2b236a3da8
|
In Path#join, add first segment of second path again at the end after joining, if it was closed.
Closes #249.
|
2013-06-27 15:43:26 -07:00 |
|
Jürg Lehni
|
6d38401f0c
|
Use faster direct Curve constructor instead of Base.create().
|
2013-06-25 09:58:18 -07:00 |
|
Jürg Lehni
|
52c889428b
|
Remove Curve.create() in favor of direct constructor.
|
2013-06-25 09:54:13 -07:00 |
|