Commit graph

16 commits

Author SHA1 Message Date
Jonathan Puckey
a73c77e44f Improve Symbol test. 2011-05-21 21:31:41 +02:00
Jonathan Puckey
c8049c6298 Fix PlacedSymbol test. 2011-05-21 21:28:30 +02:00
Jonathan Puckey
861f826aa8 Rename PlacedSymbol testing module. 2011-05-21 20:33:08 +02:00
Jonathan Puckey
88a3f0a345 Add failing Symbol test. 2011-05-21 20:32:41 +02:00
Jonathan Puckey
de22e48ef2 PlacedSymbol tests: remove comment. 2011-05-21 20:32:08 +02:00
Jonathan Puckey
6afba408c5 Fix test. 2011-05-18 20:08:52 +02:00
Jürg Lehni
2a24ec66ac Have test() method automatically create and remove a Document for reach test. 2011-05-14 18:59:04 +01:00
Jürg Lehni
ded73129ad Minor clean-up. 2011-03-07 00:01:26 +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
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
a7ec0ef269 Make sure Placed Symbol test uses a strokeWidth on Paper too. 2011-03-06 10:58:05 +00:00
Jürg Lehni
7e52355f93 Rename Doc -> Document since paper code is namespaced now and does not clash with global Document prototype. 2011-03-03 17:23:27 +00:00
Jonathan Puckey
2f9531810c Implement todos about using strokeBounds instead of bounds. 2011-03-03 14:43:37 +01:00
Jonathan Puckey
f9ccd1d1a5 Tests: add tests for group bounds after rotation. 2011-02-26 18:17:44 +01:00
Jonathan Puckey
fd2926bc45 Implement tests for PlacedSymbol, which fail because of lack of Item#strokeBounds and problems with PlacedSymbol#rotate. 2011-02-26 13:49:28 +01:00