Jürg Lehni
|
1803cd216a
|
Handle empty paths in Path#join()
Closes #516
|
2015-01-05 00:42:00 +01:00 |
|
Jürg Lehni
|
3e67f72393
|
Some code clean-up.
|
2015-01-03 20:25:12 +01:00 |
|
Jürg Lehni
|
a854c55914
|
Split off code from Path.Clockwise() into Curve.getEdgeSum()
|
2015-01-03 01:46:22 +01:00 |
|
Jürg Lehni
|
5da0ae5c3c
|
Better handle of edge values in Path#split().
Closes #515 & #538
|
2015-01-03 01:07:51 +01:00 |
|
Jürg Lehni
|
1de750bc77
|
Check for Path#closed in Path#equals()
|
2014-12-28 18:10:14 +01:00 |
|
Jürg Lehni
|
0894e625b0
|
Fix documentation issues with Path#get*At()
Closes #537.
|
2014-10-15 13:00:50 +02:00 |
|
Jürg Lehni
|
e5714584ff
|
Fix return type of #getCurvatureAt() methods.
Closes #535 properly this time.
|
2014-10-15 12:02:21 +02:00 |
|
Jürg Lehni
|
b71e2c69d6
|
Fix documentation of Curve#getCurvatureAt(), as well as Path#getCurvatureAt() & co.
Closes #535
|
2014-10-14 13:52:57 +02:00 |
|
Jürg Lehni
|
4adab91a18
|
Remove unused argument.
|
2014-09-23 17:51:29 +02:00 |
|
Jürg Lehni
|
67d30f0042
|
Actually use maxRecursion and tolerance arguments in PathIterator, and increase precision in #flatten() a bit.
|
2014-09-11 15:20:04 +02:00 |
|
Jürg Lehni
|
73765e6654
|
Produce Path#getPointAt(), #getTangentAt(), #getNormalAt() & #getCurvature() in a loop, just like for Curve.
|
2014-09-10 11:21:06 +02:00 |
|
Jürg Lehni
|
50c5c6736c
|
Rename PathFlattener to PathIterator and include the class in exports.
|
2014-09-10 02:20:00 +02:00 |
|
Jürg Lehni
|
a564480522
|
Forgotten in previous commit.
|
2014-08-25 12:53:13 +02:00 |
|
Jürg Lehni
|
797a393c9a
|
Remove various double white-spaces.
|
2014-08-25 12:49:14 +02:00 |
|
Jürg Lehni
|
48cb05a181
|
Replace tabs with 4 white-spaces.
|
2014-08-16 19:24:54 +02:00 |
|
Jürg Lehni
|
4d4a39c752
|
Implement Curve#getOffsetOf(point) / Path#getOffsetOf(point)
Closes #463.
|
2014-07-31 19:01:37 +02:00 |
|
Jürg Lehni
|
da22161d28
|
Correctly clear Curve length cache when segments change.
Closes #497
|
2014-07-31 17:00:52 +02:00 |
|
Jürg Lehni
|
9d7ec13724
|
Update prepro.js to version that can evaluate whole expressions, and fix a newly introduced issue with it.
|
2014-05-14 15:14:03 +02:00 |
|
Jürg Lehni
|
846c806034
|
Implement non-scaling strokes through Style#strokeScaling.
Closes #418.
|
2014-05-13 13:38:51 +02:00 |
|
Jürg Lehni
|
4464950301
|
Correctly take Item#matrix into account in #getPathData().
|
2014-05-13 13:21:59 +02:00 |
|
Jürg Lehni
|
ea8518c3a5
|
Use the correct change notification when reversing paths.
|
2014-05-12 16:44:48 +02:00 |
|
Jürg Lehni
|
8317aacc1b
|
Split Item#hitTest() into separate private function that does need to do arguments reading, for improved performance also when iterating over children.
|
2014-04-29 20:06:48 +02:00 |
|
Jonathan Puckey
|
2b712959f2
|
Path: Improve docs of the 'Positions on Paths and Curves' group.
|
2014-04-28 18:12:44 +02:00 |
|
Jürg Lehni
|
364c31b0f6
|
Remove TODOs for already implemented functions.
|
2014-04-28 14:25:15 +02:00 |
|
Jürg Lehni
|
42945825e8
|
Fix all argument assignment TODOs.
|
2014-04-28 14:22:50 +02:00 |
|
Jürg Lehni
|
19630d6229
|
Fix spelling mistakes.
|
2014-04-24 19:34:49 +02:00 |
|
Jürg Lehni
|
9ccba17fbe
|
Clean up white-space, comments and jshint errors.
|
2014-04-14 18:29:26 +02:00 |
|
Jürg Lehni
|
a931a2530c
|
Implement options.curves option for hit-testing curves regardless of stroke settings.
|
2014-04-11 14:57:58 +02:00 |
|
Jürg Lehni
|
86277f0578
|
Reversing path direction needs to trigger a GEOMETRY change.
|
2014-04-10 22:37:11 +02:00 |
|
Jürg Lehni
|
f002c633a7
|
Remove trailing white spaces and ensure newlines at the end.
|
2014-04-06 13:48:03 +02:00 |
|
Jürg Lehni
|
09d0f5f389
|
Correctly handle paths with only one segment in hit-testing code.
Closes #430.
|
2014-04-04 12:08:20 +02:00 |
|
Jürg Lehni
|
59da291d54
|
Remove tabs in examples in favor of 4 spaces.
To remove all these annoying JSHint complaints.
|
2014-04-02 21:03:35 +02:00 |
|
Jürg Lehni
|
fa9786b344
|
Switch to new simpler convention for control of beans creation in straps.js
|
2014-04-02 20:53:18 +02:00 |
|
Jürg Lehni
|
4108e9487b
|
Add optional joining behavior to PathItem#closePath() again and use it in #setPathData().
|
2014-03-31 19:33:38 +02:00 |
|
Jürg Lehni
|
7c447c8c5a
|
Move segment merging logic from Path#closePath() to Path#join()
Closes #435
|
2014-03-31 18:14:58 +02:00 |
|
Jürg Lehni
|
a81063a994
|
Replace all unsupported Curve#getLength(from, to) calls with #getPartLength(from, to)
|
2014-03-30 14:17:02 +02:00 |
|
Jürg Lehni
|
833d71f7ea
|
Remove Item#type and replace it with Item#className, the non-hyphenated version of #type.
|
2014-03-18 11:42:38 +01:00 |
|
Jürg Lehni
|
438de7013a
|
Correctly handle groups as clipping masks.
Closes #370.
|
2014-03-17 14:51:47 +01:00 |
|
Jürg Lehni
|
0fe52a7d39
|
Implement an optimization in _changed() notifications where not all curves need to updated if only segments change that already have told their curves about the change.
|
2014-03-17 14:35:33 +01:00 |
|
Jürg Lehni
|
c84c019990
|
Add TODO and DOC for new #arcTo(to, radius, rotation, clockwise, large)
|
2014-03-13 17:46:31 +01:00 |
|
Jürg Lehni
|
42558fa057
|
Changes to new #arcTo(): Rename sweep -> clockwise and change argument sequence, as clockwise is more often used than large.
|
2014-03-13 16:35:56 +01:00 |
|
Jürg Lehni
|
3c257dcae0
|
Merge branch 'refs/heads/master' into apply-matrix
|
2014-03-13 00:54:05 +01:00 |
|
Jürg Lehni
|
326ecfca0e
|
Rename angle parameter to rotation.
|
2014-03-12 23:05:54 +01:00 |
|
Jürg Lehni
|
56335ae5f5
|
Implement SVG-style #arcTo() version.
This should fix the arc related part of issue #413.
|
2014-03-12 23:00:47 +01:00 |
|
Jürg Lehni
|
550044e476
|
Merge branch 'refs/heads/master' into apply-matrix
|
2014-03-04 09:55:20 +01:00 |
|
Jürg Lehni
|
b08cc68ffe
|
Fix newly introduced issue in CompoundPath#moveTo() / #lineTo()
|
2014-03-04 09:48:41 +01:00 |
|
Jürg Lehni
|
7dbf6ceaff
|
Move Project#options to PaperScope#settings and define reasonable defaults.
|
2014-03-04 09:29:28 +01:00 |
|
Jürg Lehni
|
5b49fdf3ff
|
Merge branch 'refs/heads/master' into apply-matrix
|
2014-03-04 09:27:55 +01:00 |
|
Jürg Lehni
|
763fd5b6a3
|
Optimize and fix code that draws selections and handles.
|
2014-03-04 09:26:55 +01:00 |
|
Jürg Lehni
|
30b11e5968
|
Better handle Path#moveTo() / #closePath() edge cases in SVG data.
Relates to issue #413
|
2014-03-03 17:27:47 +01:00 |
|