Jürg Lehni
|
6a11532322
|
Clean up and simplify code a bit further.
|
2014-09-28 11:49:46 +02:00 |
|
Jürg Lehni
|
7462fe0b70
|
Fix Curve.getParameterAt() for negative values of offset, and implement unit test.
Closes #524.
|
2014-09-28 11:44:38 +02:00 |
|
Jürg Lehni
|
2dce6c4efa
|
Some code clean-up in Segment#_changed()
|
2014-09-27 22:09:25 +02:00 |
|
Jürg Lehni
|
cc8b23894c
|
Some clean up related to hidden _uncached parameter.
|
2014-09-27 22:03:54 +02:00 |
|
Jürg Lehni
|
b8530935a7
|
Streamline CurveLocation#getTangent/Normal/Curvature getter definitions to align with definitions in Curve, Path and PathIterator.
|
2014-09-27 22:03:20 +02:00 |
|
Jürg Lehni
|
dd99db8d2d
|
Allow 'false' as well as 'off' for hidpi attribute, since that's what's in use for other attributes as well.
|
2014-09-26 18:03:37 +02:00 |
|
Jürg Lehni
|
5046a6a64c
|
Fix naming of PathIterator#get*At functions.
|
2014-09-24 12:32:07 +02:00 |
|
Jürg Lehni
|
4adab91a18
|
Remove unused argument.
|
2014-09-23 17:51:29 +02:00 |
|
Jürg Lehni
|
ee27fe820f
|
Check for valid parameter range in Curve#getLocationAt() and delegate to it in #getLocationOf()
|
2014-09-20 11:09:09 +02:00 |
|
Jürg Lehni
|
c94fb3038f
|
Use valid parameter range [0,1] in calls to Curve.solveCubic().
|
2014-09-20 11:08:20 +02:00 |
|
Jürg Lehni
|
c2465b60fa
|
Transform the correct amount of points in Curve.getValues() when a matrix is provided.
|
2014-09-20 11:06:25 +02:00 |
|
Jürg Lehni
|
52dd24097f
|
Define PathIterator#getPoint(), #getTangent(), #getNormal() and #getCurvature().
|
2014-09-11 16:06:00 +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
|
1db4fb4064
|
Refactor PathFlattener code and add maxRecursion and tolerance arguments to constructor.
|
2014-09-09 18:32:41 +02:00 |
|
Jürg Lehni
|
7d69ef1864
|
Fix documentation of bean properties that are not read-only.
@bean can only be used when the property is read-only or both getters and setters are present in the scope.
|
2014-08-26 10:01:30 +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
|
652dbe1e86
|
Use loop to produce CurveLocation getters, and add CurveLocation#curvature.
|
2014-07-25 20:05:44 +02:00 |
|
Jürg Lehni
|
3093a8ec43
|
Introduce matrix.chain(mx) as a shortcut to Matrix.clone().concatenate(mx)
Simplifies quite a few lines of code.
|
2014-07-08 15:43:17 +02:00 |
|
hkrish
|
ccbf4579fd
|
Don't remove the only intersection.
The previous code wrongly compared an intersection with itself while checking for duplicates.
|
2014-06-21 10:31:07 +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
|
e1ed7f3294
|
Prevent drawing selected compound path children twice.
|
2014-05-12 18:57:09 +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
|
8560a71312
|
Remove srcOffset and dstOffset parameters from Matrix#_transformCoordinates().
|
2014-05-08 13:54:05 +01: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
|
04e90ec3f4
|
Improve PathItem#getIntersections(path, sorted) docs.
|
2014-04-28 18:58:19 +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
|
a9618b50f8
|
Small fix in Segment#linear.
|
2014-04-28 16:43:11 +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
|
397c81e060
|
Switch from options.type to options.class in Item#hitTest(), to reflect recent change in Item#getItems().
|
2014-04-13 16:43:20 +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
|
d12607dd44
|
Use a Base object for PaperScope#settings and update straps.js to version that offers Base#set().
|
2014-04-11 13:32:06 +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
|
eea4e533a4
|
Support type: Class filters in hit-testing code too.
|
2014-04-10 22:27:03 +02:00 |
|
Jürg Lehni
|
60f6eca6c4
|
Do not keep the view's matrix baked into _globalMatrix, since we might allow multiple views soon.
|
2014-04-07 17:35:17 +02:00 |
|
Jürg Lehni
|
66b1087d33
|
Have boolean operation result inherit styles from the left-hand item in the operation.
Closes #445.
|
2014-04-07 12:18:04 +02:00 |
|
Jürg Lehni
|
f953331edb
|
Implement correct selection drawing for CompoundPath.
Closes #402.
|
2014-04-07 11:22:25 +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 |
|