Jonathan Puckey
|
61fa298780
|
Add PathEditing example, which shows of hit-testing of paths.
|
2011-07-17 17:57:44 +02:00 |
|
Jonathan Puckey
|
f7711fab57
|
Add failing HitResult test.
|
2011-07-15 15:07:12 +02:00 |
|
Jonathan Puckey
|
d90be80fbe
|
More work on HitResult tests.
|
2011-07-15 14:53:54 +02:00 |
|
Jonathan Puckey
|
8e816f6bfc
|
HitResult#getOptions: only have fill / stroke / segments options set to true if no options object was provided.
|
2011-07-15 14:52:38 +02:00 |
|
Jonathan Puckey
|
53a602fb56
|
Path#_hitTest: check that a stroke hit test was requested.
|
2011-07-15 14:50:42 +02:00 |
|
Jonathan Puckey
|
611d9e3af3
|
Item#hitTest: ignore top level layers when hit testing for bounds or center.
|
2011-07-15 13:00:40 +02:00 |
|
Jonathan Puckey
|
91ab38ffd1
|
Path#getHandleBounds: remove optimization as it leads to problems when hit testing handles.
|
2011-07-15 12:58:34 +02:00 |
|
Jonathan Puckey
|
db620e62be
|
Fix mistake in HitResult test.
|
2011-07-15 11:31:12 +02:00 |
|
Jonathan Puckey
|
cb80b828a5
|
ToolEvent#getItem: replace getter with direct access to internal variable.
|
2011-07-14 19:28:25 +02:00 |
|
Jonathan Puckey
|
cb65399063
|
Add 2 more HitResult tests, which test hitting selected paths and guides.
|
2011-07-14 14:24:32 +02:00 |
|
Jonathan Puckey
|
738573e224
|
Add more HitResult tests.
|
2011-07-13 18:19:00 +02:00 |
|
Jonathan Puckey
|
1ffb8debc3
|
Add HitResult tests (work in progress).
|
2011-07-13 17:35:54 +02:00 |
|
Jonathan Puckey
|
61052a9da9
|
Merge remote branch 'origin/master'
|
2011-07-13 16:54:01 +02:00 |
|
Jonathan Puckey
|
0098e2490f
|
Implement ToolEvent#item.
|
2011-07-13 16:52:44 +02:00 |
|
Jürg Lehni
|
cb3d59effa
|
Update dist version to 0.2.
|
2011-07-13 13:30:22 +01:00 |
|
Jürg Lehni
|
37c1866e5a
|
Merge remote-tracking branch 'origin/master'
|
2011-07-13 13:27:26 +01:00 |
|
Jürg Lehni
|
86b1d82636
|
Add VERSION and DATE to headers and support for it in build scripts.
|
2011-07-13 13:27:14 +01:00 |
|
Jonathan Puckey
|
8aa7b02a23
|
Merge remote branch 'origin/master'
|
2011-07-13 14:12:01 +02:00 |
|
Jonathan Puckey
|
595144961d
|
Update View size before calling View#onResize.
|
2011-07-13 14:10:26 +02:00 |
|
Jürg Lehni
|
a3bfc8fe40
|
Support all ways of defining a Point in SegmentPoint.create(), through fallback to Point.read().
|
2011-07-13 12:46:16 +01:00 |
|
Jonathan Puckey
|
ff685f294a
|
Fix problem with passing a Size to the Segment constructor.
|
2011-07-13 13:29:50 +02:00 |
|
Jonathan Puckey
|
4947a63bad
|
Add failing test where new Segment(size) creates a Segment with Segment#point: {x: NaN, y: NaN}.
|
2011-07-13 12:55:25 +02:00 |
|
Jürg Lehni
|
62453a4212
|
Increase version number.
|
2011-07-11 12:24:05 +02:00 |
|
Jürg Lehni
|
0f72ab35fa
|
Update JsDoc.
|
2011-07-11 12:21:53 +02:00 |
|
Jürg Lehni
|
b5b1e50ccf
|
Improve detection of passed Rectangles or Points in Rectangle#contains()
|
2011-07-11 12:21:24 +02:00 |
|
Jürg Lehni
|
077a83ca7c
|
Fix documentation error.
|
2011-07-11 12:15:34 +02:00 |
|
Jürg Lehni
|
f69751d709
|
Merge remote-tracking branch 'origin/master'
|
2011-07-09 17:23:39 +02:00 |
|
Jürg Lehni
|
254aee47f8
|
Implement Path#getLocation(point)
|
2011-07-09 17:12:27 +02:00 |
|
Jürg Lehni
|
55f815cb72
|
Remove obsolete TODOs.
|
2011-07-09 17:12:13 +02:00 |
|
Jürg Lehni
|
51df37b8ec
|
Fix recently broken support for text-paperscript mime type.
|
2011-07-09 17:11:57 +02:00 |
|
Jürg Lehni
|
615a1281e3
|
Remove obsolete TODO.
|
2011-07-09 17:03:10 +02:00 |
|
Jürg Lehni
|
5bac5189a4
|
Implement Item#fullySelected.
|
2011-07-09 17:02:58 +02:00 |
|
Jürg Lehni
|
6771475ffc
|
Clean up comments.
|
2011-07-09 16:59:07 +02:00 |
|
Jürg Lehni
|
9abdcb571e
|
Add support for both text/paperscript and text/x-paperscript mime types.
|
2011-07-09 16:58:53 +02:00 |
|
Jonathan Puckey
|
7772bfc2c9
|
HSLColor example: change the background color to black.
|
2011-07-09 16:21:02 +02:00 |
|
Jonathan Puckey
|
984af9c93b
|
Use radial gradients in HSLColor example.
|
2011-07-09 16:19:15 +02:00 |
|
Jürg Lehni
|
45c7f9c4fc
|
Port back code to prevent tangents and normals of length 0 from Scriptographer.
|
2011-07-09 11:20:03 +02:00 |
|
Jürg Lehni
|
ebd3bfc092
|
Introduce faster versions of Rectangle#contains() that do not perform checks.
|
2011-07-09 11:07:12 +02:00 |
|
Jürg Lehni
|
833d4968ce
|
Change root solvers to not produce new arrays each time but fill a passed one that can be reused. Yields io impressive performance improvements.
|
2011-07-09 10:50:47 +02:00 |
|
Jürg Lehni
|
839107d341
|
Remove faulty code for calculation of tangents / normals.
|
2011-07-09 10:35:22 +02:00 |
|
Jürg Lehni
|
ec00150df2
|
Remove unused variable.
|
2011-07-09 10:34:18 +02:00 |
|
Jürg Lehni
|
4e1d613ed8
|
Fix Curve#getLength() again for straight lines.
|
2011-07-09 10:21:17 +02:00 |
|
Jürg Lehni
|
17b412ce6f
|
Fix a newly introduced bug in #contains().
|
2011-07-09 10:17:06 +02:00 |
|
Jürg Lehni
|
8a6d53766e
|
Explain code a litter better.
|
2011-07-09 10:11:50 +02:00 |
|
Jürg Lehni
|
8928a7b057
|
Fix #getCrossings() where calling #getPoint() / #getTangent() was slow and also wrong when a matrix was used.
|
2011-07-09 10:09:41 +02:00 |
|
Jürg Lehni
|
8606f25542
|
Switch from using Function#apply() trick for passing curve values as function parameters to simply passing arrays and looking up the values on then.
|
2011-07-09 10:08:43 +02:00 |
|
Jürg Lehni
|
23f38c6e5b
|
Fix Path#flatten(), where we don't want to add last segment again for closed paths.
|
2011-07-09 09:51:06 +02:00 |
|
Jürg Lehni
|
8e6adbc284
|
Fix documentation.
|
2011-07-09 09:28:49 +02:00 |
|
Jürg Lehni
|
f958b41d90
|
Don't filter for a type by default.
|
2011-07-09 09:28:36 +02:00 |
|
Jürg Lehni
|
74b23c1882
|
Use #roughBounds rather than #bounds in #contains() check.
|
2011-07-09 09:27:54 +02:00 |
|