Commit graph

31 commits

Author SHA1 Message Date
Jürg Lehni
bc2729683c Core: Renamed Symbol and PlacedSymbol classes and properties.
- Symbol -> SymbolDefinition
- PlacedSymbol -> SymbolItem
- Symbol#definition -> SymbolDefinition#item
- PlacedSymbol#symbol -> SymbolItem#definition
- Deprecate Project#symbols

Closes #770
2016-01-31 16:52:51 +01:00
Jürg Lehni
4c84c3dad5 Tests: Start getting QUnit tests to work on Node.js
Work in progress…
2016-01-31 12:43:20 +01:00
Jürg Lehni
a7a07fb6d5 Update JSDoc and do some documentation spring-cleaning.
- Convert from {@code ...} to shorter `...`
- Reformat some documentation comment blocks
- Update copyright notices
2015-12-30 21:55:19 +01:00
Jürg Lehni
c5a2a51f3e Implement unit test comparator for Color and improve new comparator code. 2014-12-28 15:21:38 +01:00
Jürg Lehni
b8674a3bc1 Implement unit test comparators for Point, Size and Rectangle. 2014-12-28 14:59:48 +01:00
Jürg Lehni
48cb05a181 Replace tabs with 4 white-spaces. 2014-08-16 19:24:54 +02:00
Jürg Lehni
e22fa3a664 Update copyright notice. 2014-01-04 01:47:16 +01:00
Jürg Lehni
6c9c16ad3d Update copyright information comments, and year. 2013-01-28 18:03:27 -08:00
Jürg Lehni
e59f076992 Now that Path#strokeBounds produces correct results, the tests need fixing too. 2011-12-20 22:04:55 +01:00
Jürg Lehni
3b5e00f343 Add test for symbol definition modification. 2011-07-04 21:23:40 +02:00
Jürg Lehni
4748bb48e8 Fix and improve test for bounds of symbols with groups. 2011-07-04 20:13:33 +02:00
Jonathan Puckey
724fdcd727 Merge remote branch 'origin/master' 2011-07-04 15:10:26 +02:00
Jonathan Puckey
d726cef4e4 Add a few PlacedSymbol tests, two of which are failing. 2011-07-04 15:09:17 +02:00
Jürg Lehni
79c0ad8cc5 Update copyright notices. 2011-07-01 12:17:45 +02:00
Jonathan Puckey
9cb362d389 Add tests for Symbol#place 2011-06-03 22:27:18 +02:00
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