Jürg Lehni
|
e1a7aff2f0
|
Add copyright notice and license file.
|
2011-03-07 00:50:44 +00:00 |
|
Jürg Lehni
|
91160bc5d7
|
Add copyright notices.
|
2011-03-07 00:40:48 +00:00 |
|
Jürg Lehni
|
003cfbd32b
|
Format Gauss tables nicer.
|
2011-03-07 00:38:33 +00:00 |
|
Jürg Lehni
|
0bfca81140
|
Clean-up getBounds() code and move to its own scope at the end of Path.
|
2011-03-07 00:36:44 +00:00 |
|
Jürg Lehni
|
9fdbd0146d
|
Rename MathUtils to Numerical.
|
2011-03-07 00:21:04 +00:00 |
|
Jürg Lehni
|
58f5c8554e
|
Add comments about initial guess.
|
2011-03-07 00:17:43 +00:00 |
|
Jürg Lehni
|
83fea3bf4e
|
Clean up MathUtils code.
|
2011-03-07 00:17:32 +00:00 |
|
Jürg Lehni
|
ded73129ad
|
Minor clean-up.
|
2011-03-07 00:01:26 +00:00 |
|
Jürg Lehni
|
b1915fcb62
|
Add a test for Curve#getParameter(), with benchmarking too for now.
|
2011-03-07 00:01:16 +00:00 |
|
Jürg Lehni
|
65900f8790
|
Implement Curve#getParameter() using MathUtils.brent(), with the astonishing result that performance can match the Java side on Chrome!
|
2011-03-07 00:00:45 +00:00 |
|
Jürg Lehni
|
b1e90efc9e
|
Add Van Wijngaarden–Dekker–Brent method for root finding, ported from Numerical Recipes in C.
|
2011-03-06 23:25:57 +00:00 |
|
Jürg Lehni
|
29e57cc521
|
Replace slow simpson() method with insanely fast Gauss-Legendre Numerical Integration by Jim Armstrong which was further optimised.
|
2011-03-06 23:24:33 +00:00 |
|
Jürg Lehni
|
c4ad95b0ac
|
More variable chaining...
|
2011-03-06 22:06:24 +00:00 |
|
Jürg Lehni
|
4c13ca6961
|
Fix syntax errors (that magically work on Safari).
|
2011-03-06 22:06:06 +00:00 |
|
Jürg Lehni
|
87981efeb5
|
Massive refactoring of transform() / getBounds() code: getBounds() / getStrokeBounds() now supports an optional Matrix parameter which is used to on the fly transform all coordinates and stroke definitions before bounds are calculated. This even supports the correct determination of rotated ellipse bounds for round strokes in symbols.
|
2011-03-06 21:26:38 +00:00 |
|
Jürg Lehni
|
6def2b9d3a
|
Clean-up Path#arcTo() code.
|
2011-03-06 21:13:55 +00:00 |
|
Jürg Lehni
|
2d4cf2cc72
|
Replace beans access to Item#position with getter calls.
|
2011-03-06 21:12:11 +00:00 |
|
Jürg Lehni
|
8ddf5a3d90
|
Add Matrix#createShiftless(), to return a copy of the matrix that lacks the translation.
|
2011-03-06 21:10:47 +00:00 |
|
Jürg Lehni
|
670512d123
|
Finally figured out why Matrix#applyToContext was not working right: The parameters where not passed in the right sequence!
|
2011-03-06 21:09:52 +00:00 |
|
Jürg Lehni
|
994b9deb8f
|
Fix Matrix#toString() to print values in correct sequence.
|
2011-03-06 21:08:37 +00:00 |
|
Jürg Lehni
|
607fe8f5d6
|
Improve argument handling in Matrix constructor.
|
2011-03-06 21:07:44 +00:00 |
|
Jürg Lehni
|
a7d08bcc08
|
Use variable definition chaining in Matrix where possible.
|
2011-03-06 21:06:46 +00:00 |
|
Jürg Lehni
|
32d0f31c31
|
Introduce Matrix.create() and use where applicable.
|
2011-03-06 21:05:24 +00:00 |
|
Jürg Lehni
|
47d55e19f5
|
Impove various angle related code in Point.
|
2011-03-06 21:03:43 +00:00 |
|
Jürg Lehni
|
420e0435ed
|
Shorten create() methods, except for Point where it might have a performance impact.
|
2011-03-06 21:02:57 +00:00 |
|
Jürg Lehni
|
90b94a8d83
|
Various simplificiations and clean-ups in Path constructors.
|
2011-03-06 18:46:28 +00:00 |
|
Jürg Lehni
|
deb78b78cf
|
Define fast Rectangle.create() and use it internally where applicable.
|
2011-03-06 18:45:56 +00:00 |
|
Jürg Lehni
|
4070f98374
|
Clean up calculateBounds().
|
2011-03-06 18:33:52 +00:00 |
|
Jürg Lehni
|
836da3ce47
|
Make getCurrentSegment() a real private.
|
2011-03-06 15:21:12 +00:00 |
|
Jürg Lehni
|
dfb11610e7
|
Define getCurrentSegment() as private and make sure it's not used as a bean.
|
2011-03-06 15:17:06 +00:00 |
|
Jürg Lehni
|
162dab66a7
|
Clean up code.
|
2011-03-06 15:15:21 +00:00 |
|
Jürg Lehni
|
e533b4edbb
|
Move PostScript commands to the end of Path definition in its own injection block.
|
2011-03-06 15:15:13 +00:00 |
|
Jürg Lehni
|
f803e1ad1d
|
Remove obsolete comment.
|
2011-03-06 15:14:57 +00:00 |
|
Jürg Lehni
|
164c08a972
|
Change tests to ignore Illustrator's faulty bounds calculation of symbols.
|
2011-03-06 15:11:18 +00:00 |
|
Jürg Lehni
|
6735218ab5
|
Merge remote-tracking branch 'origin/master'
|
2011-03-06 14:59:30 +00:00 |
|
Jürg Lehni
|
04a13bce19
|
Add strokeBounds example, and a test for stroke transformation with symbols.
|
2011-03-06 14:59:11 +00:00 |
|
Jürg Lehni
|
501e42fb9d
|
Add Path#getLength().
|
2011-03-06 14:58:10 +00:00 |
|
Jonathan Puckey
|
22abd41aac
|
Revert changes to BouncingBalls example.
|
2011-03-06 15:52:38 +01:00 |
|
Jürg Lehni
|
8b32aa9f09
|
Reactivate commented out code in addBevelJoin(), since it is required in some situations.
|
2011-03-06 14:51:46 +00:00 |
|
Jonathan Puckey
|
9f1bf92ecd
|
Merge remote branch 'origin/master'
|
2011-03-06 15:48:02 +01:00 |
|
Jonathan Puckey
|
78e6633804
|
Add missing BlendMode dependency to examples.
|
2011-03-06 15:47:55 +01:00 |
|
Jürg Lehni
|
78c7f645ab
|
Merge remote-tracking branch 'origin/master'
|
2011-03-06 14:45:57 +00:00 |
|
Jürg Lehni
|
2df6dc989a
|
Add comments about changes that need backporting to Scriptographer.
|
2011-03-06 14:45:44 +00:00 |
|
Jürg Lehni
|
f6a8de8cc6
|
Finish work on miter caps for Path#getStrokeBounds.
|
2011-03-06 14:45:32 +00:00 |
|
Jürg Lehni
|
15b16aaed9
|
Add Line class to basics.
|
2011-03-06 14:45:07 +00:00 |
|
Jonathan Puckey
|
130d9ebb23
|
Merge remote branch 'origin/master'
|
2011-03-06 15:45:03 +01:00 |
|
Jürg Lehni
|
8be1041011
|
Make style setter calls chainable.
|
2011-03-06 14:44:54 +00:00 |
|
Jonathan Puckey
|
40b7571489
|
Move BlendMode into util and add missing var.
|
2011-03-06 15:44:51 +01:00 |
|
Jürg Lehni
|
2c034475b0
|
Fix a bug in Point#cross().
|
2011-03-06 14:26:23 +00:00 |
|
Jonathan Puckey
|
4cda395ab3
|
Add Rotation Raster to Examples.
|
2011-03-06 15:11:18 +01:00 |
|