Jonathan Puckey
|
33c13b36a3
|
Fix drawing of groups where a compound path is used as a clip mask.
|
2012-11-06 18:07:51 +01:00 |
|
Jürg Lehni
|
4c51544b6e
|
Implement correct checks for primitives (rect, ellipse, circle).
|
2012-11-06 01:22:16 -08:00 |
|
Jürg Lehni
|
64b9daacd0
|
Code clean-up.
|
2012-11-05 21:06:56 -08:00 |
|
Jürg Lehni
|
6e0f29bf4a
|
Rename Path#closed getter to #isClosed() instead of #getClosed().
|
2012-11-05 21:06:47 -08:00 |
|
Jürg Lehni
|
400b454177
|
Introduce Numerical.isZero(), for comparisons against 0 with a tolerance.
|
2012-11-05 21:06:13 -08:00 |
|
Jürg Lehni
|
35568c15f2
|
Implement transparent constant-substitution in prepro.js to shave of some extra bytes of final distribution file.
|
2012-11-05 18:11:44 -08:00 |
|
Jürg Lehni
|
1050e3314e
|
Implement Segment#isLinear() and Path#isPolygon().
|
2012-11-04 00:03:49 -07:00 |
|
Jürg Lehni
|
19d145f281
|
Introduce Item#type, returning a simple item type string identifier.
|
2012-11-03 23:43:18 -07:00 |
|
Jürg Lehni
|
6ed1d67ada
|
Modernize Bootstrap.js, introduce Base.create() and use it instead of the Constructor.dont hack for object creation without the calling of initialize.
|
2012-11-03 21:49:37 -07:00 |
|
Jürg Lehni
|
07c0b6ce6a
|
Improve Path#moveTo behavior()
Allowing it to be called multiple times before any other drawing commands.
|
2012-11-03 19:45:02 -07:00 |
|
Jürg Lehni
|
1ce332756e
|
Rename ImportSvg to SvgImporter, and ExportSvg to SvgExporter.
|
2012-11-02 17:40:07 -07:00 |
|
Jürg Lehni
|
ab02023adf
|
Do not create extra points when asked to produce a round rectangle with no radius.
|
2012-11-02 17:04:21 -07:00 |
|
Jürg Lehni
|
b22ff5ecca
|
Revert a recent change in selection handling.
|
2012-11-02 16:27:59 -07:00 |
|
Jürg Lehni
|
f6f80e4061
|
Implement CompoundPath#contains() and #hitTest() correctly.
And change the way that styles are stored on CompoundPaths: Not in the first child but in the item itself.
|
2012-10-22 18:48:51 -04:00 |
|
Jürg Lehni
|
f73717a7e7
|
Fix issues in Numerical.solveQuadratic(), solveCubic() and Path#contains().
Closes #71.
|
2012-10-22 18:21:33 -04:00 |
|
Jürg Lehni
|
317fcf5432
|
Only include strokeWidth in roughBounds if a strokeColor is actually set.
|
2012-10-20 16:01:53 -04:00 |
|
Jürg Lehni
|
f87eadecda
|
Correct default value for clockwise in arcTo().
|
2012-10-19 09:18:10 -04:00 |
|
Jürg Lehni
|
6441a682a8
|
Fix new error in quadraticCurveTo().
We don't seem to have test-cases for these yet.
|
2012-10-18 14:29:53 -07:00 |
|
Jürg Lehni
|
30374ae3b4
|
Implement proper index independent argument list reading of basic types.
Implemented for Point, Size, Rectangle and Color.
|
2012-10-18 14:24:15 -07:00 |
|
Jürg Lehni
|
44ad4d885a
|
Update link to Kaspar Fischer's PDF with new URL.
|
2012-10-15 15:48:38 -07:00 |
|
Jürg Lehni
|
e17e94b50b
|
Implement Item#isEmpty() for the various types.
And use it to tell #getBounds() when to ignore items.
|
2012-10-10 20:11:11 -07:00 |
|
Jürg Lehni
|
adb2ddc615
|
Fix CompoundPath#insertChild.
It was not returning success values and thus broke some tests.
|
2012-10-10 19:54:32 -07:00 |
|
Jürg Lehni
|
ef59ad2875
|
Improve selection handling and drawing for Path item.
In a way that makes more sense when building tools.
|
2012-10-10 19:33:42 -07:00 |
|
Jürg Lehni
|
523736d9e5
|
Handle view redraws correctly for all selection changes.
|
2012-10-08 23:12:43 -07:00 |
|
Jürg Lehni
|
6b08d96c45
|
Fix issue where out handle was compared to the wrong segment point when drawing.
This should fix #106 but needs to be verified before we can close the bug.
|
2012-10-05 19:08:31 -07:00 |
|
Jürg Lehni
|
77296c4640
|
Update documentation a bit.
|
2012-10-05 16:09:15 -07:00 |
|
Jürg Lehni
|
59a55f7574
|
Merge branch 'master' of github.com:paperjs/paper.js
|
2012-09-30 14:08:44 -07:00 |
|
Jürg Lehni
|
9e61995282
|
Handle parameter matching of beginning and ends of curves separately.
|
2012-09-30 14:06:31 -07:00 |
|
Jonathan Puckey
|
d20fb61c7c
|
Cleanup code.
|
2012-04-25 20:47:53 +02:00 |
|
Oliver Beattie
|
3c7563a3bf
|
When a path is transformed, the _length cache of its Curves should be invalidated
|
2012-03-17 17:09:54 +00:00 |
|
Jonathan Puckey
|
4d21e219c0
|
Merge pull request #74 from jonobr1/patch-1
Based on logic, I think the else if statement means to refer to c1 rathe...
|
2012-03-02 03:30:25 -08:00 |
|
Jonathan Puckey
|
c339ffca35
|
Close closed paths when drawing using Context#closePath(). Fixes #72
|
2012-03-01 23:25:00 +01:00 |
|
Jonathan Puckey
|
7093b73d31
|
Cleanup last merged pull request.
|
2012-03-01 17:06:39 +01:00 |
|
Alex Buchanan
|
f1a6357a05
|
Path.reverse() should adjust segment indices
|
2012-02-18 15:13:23 -08:00 |
|
Jono Brandel
|
ad811827fc
|
Based on logic, I think the else if statement means to refer to c1 rather than c0 again, but I'd like to verify with you guys.
|
2012-02-07 09:10:33 -08:00 |
|
Jürg Lehni
|
96f7d140a7
|
Use faster Point.create(x, y) internally.
|
2011-12-27 20:39:28 +01:00 |
|
Jürg Lehni
|
ad2abfb71f
|
Inline drawDashes() code.
|
2011-12-27 20:18:02 +01:00 |
|
Jürg Lehni
|
28806fe977
|
Ue the faster Matrix#_transformPoint().
And reuse Point objects if possible.
|
2011-12-26 11:06:36 +01:00 |
|
Jürg Lehni
|
7af06502bc
|
Fix Path#transform() to also return a reference to 'this'.
|
2011-12-25 16:39:08 +01:00 |
|
Jürg Lehni
|
783d2782c0
|
Fix wrong HitResult type when hitting Segment#point.
|
2011-12-25 16:38:43 +01:00 |
|
Jürg Lehni
|
1e690a68e0
|
Add TODO about HitResult points requiring transformations.
|
2011-12-25 12:39:10 +01:00 |
|
Jürg Lehni
|
3b0b1184a3
|
Implement checkSegment() without relying on #_transformCoordinates().
|
2011-12-25 12:34:51 +01:00 |
|
Jürg Lehni
|
c30ff47930
|
Remove matrix argument from all hit-testing related methods.
We better inverse-transform the point and save the code!
|
2011-12-25 00:19:01 +01:00 |
|
Jürg Lehni
|
733d879bb6
|
Add / improve comments about DOCS.
|
2011-12-23 22:47:10 +01:00 |
|
Jürg Lehni
|
98c82856ea
|
Override #matrix accessors in Path to do nothing.
For the same reasons as described in the previous commit.
|
2011-12-23 22:46:53 +01:00 |
|
Jürg Lehni
|
627961627e
|
Have Path always directly apply any transformation to its Segments.
This is required so the coordinates of its bounds, length and SegmentPoints are always in the same space.
|
2011-12-23 22:43:27 +01:00 |
|
Jürg Lehni
|
97b66582f8
|
Rename Item#applyMatrix() to shorter #apply().
|
2011-12-23 22:41:05 +01:00 |
|
Jürg Lehni
|
93ede28f3b
|
Implement new selection drawing mechanism.
Using the new Item#globalMatrix.
|
2011-12-20 11:42:00 +01:00 |
|
Jürg Lehni
|
daca14efb8
|
Add optional matrix in Path drawing code.
Required for new selection drawing mechanism to be implemented.
|
2011-12-20 11:40:31 +01:00 |
|
Jürg Lehni
|
42087071e7
|
Fix #strokeBounds for square caps.
Calculate the right points at both ends of paths.
|
2011-12-19 23:30:02 +01:00 |
|