Jürg Lehni
|
be6bbb802d
|
Move calculations of values to where they are needed.
|
2013-06-17 08:22:28 -07:00 |
|
Jürg Lehni
|
5ff990a84a
|
Fix global variable leakage, and join sequential variable definitions.
|
2013-06-17 08:10:57 -07:00 |
|
hkrish
|
2693516844
|
Implement correct method for calculating curvature on a Path
|
2013-06-17 15:16:11 +05:30 |
|
Jonathan Puckey
|
de8aa1a6a5
|
Merge pull request #238 from christophknoth/patch-2
Changed broken link http://paperjs.org/downloads to http://paperjs.org/d...
|
2013-06-16 12:53:30 -07:00 |
|
Jürg Lehni
|
f8367bb0dd
|
More clean-ups.
|
2013-06-15 05:24:34 -07:00 |
|
Jürg Lehni
|
79785afa2a
|
Minor clean-ups and optimizations of stroke hit-test code.
|
2013-06-15 05:21:17 -07:00 |
|
Jürg Lehni
|
8c09d19f7c
|
Fix wrong calculation of rough bounds for square caps.
And add some comments to stroke hit-testing code.
|
2013-06-15 05:15:48 -07:00 |
|
Jürg Lehni
|
26971672b2
|
Only check segments for miters that are within the limit.
|
2013-06-15 05:08:12 -07:00 |
|
Jürg Lehni
|
be1098e006
|
Further improve stroke hit-testing.
Properly detect all miter joins.
|
2013-06-15 05:06:09 -07:00 |
|
Jürg Lehni
|
d318057897
|
Implement Segment#getLocation()
|
2013-06-15 05:05:10 -07:00 |
|
christophknoth
|
3af1246a5e
|
Changed broken link http://paperjs.org/downloads to http://paperjs.org/download
|
2013-06-15 13:06:42 +02:00 |
|
Jürg Lehni
|
1cab9aad90
|
Improve stroke hit-testing.
|
2013-06-15 03:12:57 -07:00 |
|
Jürg Lehni
|
eb32bad57e
|
Fix imprecision in #getNearestLocation()
|
2013-06-15 03:12:29 -07:00 |
|
Jürg Lehni
|
38f832a888
|
Remove console.log()
|
2013-06-15 02:25:44 -07:00 |
|
Jürg Lehni
|
8b9fb3741d
|
Implement proper stroke hit-testing for all variations of joins and caps.
|
2013-06-15 02:24:59 -07:00 |
|
Jürg Lehni
|
d4342caa62
|
Bump version to v0.9.3
|
2013-06-14 23:35:04 -07:00 |
|
Jürg Lehni
|
e4ba0d80b6
|
Simple code improvement in #isClockwise().
|
2013-06-14 23:18:29 -07:00 |
|
Jürg Lehni
|
4ffcdc3971
|
Clean up code.
|
2013-06-14 23:13:54 -07:00 |
|
Jürg Lehni
|
1ae7832ab3
|
Move calculation of square joins and caps to static methods.
These will be of use when correctly implementing hit-testing of strokes.
|
2013-06-14 23:11:50 -07:00 |
|
Jürg Lehni
|
ca0e931498
|
Clean up and simplify getStrokeBounds() code.
Handling of bevel and miter joins can be merged nicely.
|
2013-06-14 22:57:14 -07:00 |
|
Jürg Lehni
|
1dee05900f
|
Move getArea code to other statics block.
|
2013-06-13 23:16:44 -07:00 |
|
Jürg Lehni
|
610e396d94
|
Make Curve#_getCrossings() a static method and have it work on curve values directly.
|
2013-06-13 23:16:00 -07:00 |
|
Jürg Lehni
|
d6db007765
|
Fix documentation warning.
|
2013-06-13 15:57:12 -07:00 |
|
Jürg Lehni
|
01e48b3322
|
Improve and clean up fat-line bug fix.
|
2013-06-13 15:53:28 -07:00 |
|
Jürg Lehni
|
38f31be6b2
|
Clean up and simplify Path#_hitTest() code.
|
2013-06-13 14:30:52 -07:00 |
|
Jürg Lehni
|
c518a4d74f
|
Clear fill in SVGs for fatline tests.
|
2013-06-13 14:26:42 -07:00 |
|
Jürg Lehni
|
5d48513f8a
|
Define failing test for hit-testing miter strokes.
|
2013-06-13 11:07:43 -07:00 |
|
Jürg Lehni
|
ae474131cc
|
Implement stroke hittesting for Shape.Rectangle.
|
2013-06-13 10:40:54 -07:00 |
|
Jürg Lehni
|
48fa889e0d
|
Start implementing proper hit-testing for Shapes with strokes.
Support for Shape.Rectangle is still missing.
|
2013-06-13 10:31:21 -07:00 |
|
Jürg Lehni
|
40dbe7ec74
|
Fix drawing of Shape.Ellipse items.
|
2013-06-13 10:30:54 -07:00 |
|
Jürg Lehni
|
d67ce8a103
|
Fix syntax.
|
2013-06-13 09:13:42 -07:00 |
|
Jürg Lehni
|
d87937dc03
|
Fix issue on IE occuring when nodes are removed from DOM.
|
2013-06-13 09:08:11 -07:00 |
|
Jürg Lehni
|
7f6ac3d8af
|
Changing HIERARCHY also changes GEOMETRY.
Fixes #237.
|
2013-06-13 08:47:45 -07:00 |
|
Jürg Lehni
|
5250281ab1
|
Fully support object literal arguments in Shape constructors.
|
2013-06-12 20:13:39 -07:00 |
|
Jürg Lehni
|
95ecab8a6f
|
Improve handling of merged CompoundPath style through #getStyle().
Only access _style directly in core code if you really know what you're doing!
|
2013-06-12 20:12:08 -07:00 |
|
Jürg Lehni
|
33eb750586
|
Simplify Path#hasFill() and implement #hasStroke() as well.
|
2013-06-12 19:57:05 -07:00 |
|
Jürg Lehni
|
fe10c99d1b
|
Implement standard behavior of #_hitTest() for items without children, based on #_contains().
This should cover the minimum of what's needed for PointText.
|
2013-06-12 19:30:23 -07:00 |
|
Jürg Lehni
|
463a00bd1e
|
Fix negative bounds height on PointText.
|
2013-06-12 19:21:46 -07:00 |
|
Jürg Lehni
|
2196ef2a74
|
Streamline various #equals() methods.
|
2013-06-12 18:57:12 -07:00 |
|
Jürg Lehni
|
4a8469b740
|
Define Base.isPlainValue() and use it to implement more flexible #equals() for Color and Rectangle.
|
2013-06-12 18:55:14 -07:00 |
|
Jürg Lehni
|
a163d890e6
|
Update straps.js
|
2013-06-12 18:54:34 -07:00 |
|
Jürg Lehni
|
294bfc9c9a
|
Improve IE Function#name fix and move it to straps.js, since constructor.name is used there too.
Cache result and improve RegExp.
|
2013-06-12 18:36:18 -07:00 |
|
Jürg Lehni
|
6fe60cff9d
|
Fix trailing comas.
|
2013-06-12 17:42:38 -07:00 |
|
Jürg Lehni
|
34ad9045cc
|
Fix wrong default fillColor on TextItems.
|
2013-06-12 17:30:35 -07:00 |
|
Jürg Lehni
|
cb0dcf1719
|
Fix accidental global leakage.
|
2013-06-12 17:27:20 -07:00 |
|
Jürg Lehni
|
13d97796aa
|
Start implementing unit tests for TextItem / PointText.
One failing already.
|
2013-06-12 16:50:24 -07:00 |
|
Jürg Lehni
|
d1932124d7
|
Implement #equals() in Point, Size and Rectangle without argument reading.
Closes #235
|
2013-06-12 15:28:29 -07:00 |
|
Jürg Lehni
|
e6721cdbd6
|
Clean up rectangle test.
|
2013-06-12 15:16:45 -07:00 |
|
Jürg Lehni
|
1394c36907
|
Find an elegant way to implement all variations of Rectangle(object) constructors.
|
2013-06-12 15:08:22 -07:00 |
|
Jürg Lehni
|
7c5478cd93
|
Define first solution for correctly handling Rectangle(object) constructors.
Work in progress.
|
2013-06-12 14:57:47 -07:00 |
|