Jürg Lehni
|
16578e6b15
|
Clean up code.
|
2012-12-15 02:24:46 -08:00 |
|
Jürg Lehni
|
a36d244eb1
|
Handle impression in Curve#getCrossings(), causing wrong results when handling circles.
|
2012-12-15 01:52:23 -08:00 |
|
Jürg Lehni
|
9a7f72e163
|
Clean up getBounds code a bit, by using less local variables and more explicit variable names.
|
2012-12-14 21:40:25 -08:00 |
|
Jürg Lehni
|
2061cb0517
|
Fix Path#contains() for unclosed paths that have a fill color.
|
2012-12-14 21:39:47 -08:00 |
|
Jürg Lehni
|
9d8bf12028
|
Never return null from #getBounds.
|
2012-12-09 18:00:23 -08:00 |
|
Jürg Lehni
|
d16155f4fe
|
Fix CompoundPath#clone() so that it does not alter the #clockwise state on its children.
|
2012-12-01 11:31:03 -08:00 |
|
Jürg Lehni
|
f14b685c1d
|
Use #_type comparisson rather than slower instanceof operator wherever we can.
|
2012-12-01 11:17:09 -08:00 |
|
Jürg Lehni
|
ace1d0f441
|
No need to set _clockwise since #reverse() already does so.
|
2012-12-01 11:10:59 -08:00 |
|
Jürg Lehni
|
d0cc8b6c16
|
Fix issue with hit-testing filled paths that are not closed.
|
2012-11-28 22:13:31 -08:00 |
|
Jürg Lehni
|
4d51173881
|
Keep Path#curves in sync properly when removing the last segment of an open path.
Closes #138.
|
2012-11-23 13:58:13 -08:00 |
|
Jürg Lehni
|
61b6026361
|
Rename CompoundPath#flatten() to #reduce(), to avoid clash with Path#flatten().
|
2012-11-23 01:16:21 -08:00 |
|
Ben Firshman
|
8ca26f650a
|
Fixed leaky _handle2
|
2012-11-20 15:53:31 +00:00 |
|
Ben Firshman
|
73d6c102a6
|
Fix k leaking into globals
|
2012-11-20 15:53:04 +00:00 |
|
Ben Firshman
|
dc1161b32a
|
Fix fullLength leaking into globals
|
2012-11-20 15:53:03 +00:00 |
|
Jürg Lehni
|
d671a08205
|
Introduce Base.toFloat() and rename Base.formatNumber() to Base.formatFloat()
|
2012-11-14 01:31:08 -08:00 |
|
Jürg Lehni
|
e9a9066d7f
|
Use group creation without explicit array declaration, as that's been supported all along.
|
2012-11-06 20:37:50 -08:00 |
|
Jürg Lehni
|
1cb6a7fc3c
|
Clean up Path#smooth() code a bit.
|
2012-11-06 20:18:59 -08:00 |
|
Jürg Lehni
|
f110038104
|
Improve clipping mask drawing, and remove some unneeded ctx.save() / ctx.restore() calls.
|
2012-11-06 20:14:21 -08:00 |
|
Jürg Lehni
|
4b6207bdb6
|
Do not allow adding of items other than paths to CompoundPath.
|
2012-11-06 14:01:52 -08:00 |
|
Jürg Lehni
|
28642bd1c8
|
Rename Path.Oval() to Path.Ellipse(), and deprecate Path.Oval().
|
2012-11-06 11:37:00 -08:00 |
|
Jürg Lehni
|
fd8fe9c08e
|
Rename CompoundPath#simplify() to #flatten() to avoid clashes with Path#simplify(), and add Path#flatten(), returning itself.
|
2012-11-06 10:16:03 -08:00 |
|
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 |
|