Commit graph

1200 commits

Author SHA1 Message Date
Jonathan Puckey
7e85c06b13 Add Phyllotaxis Raster example to Scripts. 2011-05-18 16:03:25 +02:00
Jonathan Puckey
241d98a1cf Merge remote branch 'origin/master' 2011-05-18 16:01:36 +02:00
Jonathan Puckey
8810563a8f Improve Raster#getAverageColor. 2011-05-18 16:00:55 +02:00
Jürg Lehni
db1a25933a Replace accidental beans access with direct access of internal property. 2011-05-18 09:43:32 +01:00
Jürg Lehni
88332d763d Simplify GradientColor#equals(). 2011-05-18 09:42:09 +01:00
Jürg Lehni
57eabed874 Simplify GradientStop#equals(). 2011-05-18 09:40:03 +01:00
Jürg Lehni
8b2709f5d8 Replace accidental beans access with direct access of internal property. 2011-05-18 09:38:45 +01:00
Jürg Lehni
eb6b838cf4 Simplify GradientStop#setRampPoint(). 2011-05-18 09:38:20 +01:00
Jürg Lehni
fc52944ee8 Change method sequence a bit. 2011-05-17 13:43:45 +01:00
Jürg Lehni
160f3d55c7 Make View#transform() private. 2011-05-17 13:43:10 +01:00
Jürg Lehni
f3f5515763 Add comment about potential renaming of artworkToView -> projectToView? 2011-05-17 13:42:45 +01:00
Jürg Lehni
ac364014da Actually use matrix when drawing view. 2011-05-17 13:42:20 +01:00
Jürg Lehni
2f63127b02 Simplify and fix View#setZoom(). 2011-05-17 13:41:42 +01:00
Jürg Lehni
26269d394a Rename project/ProjectView -> ui/View. 2011-05-17 13:29:07 +01:00
Jürg Lehni
7b4dd222ac Completely decouple ProjectView from Project. 2011-05-17 13:25:46 +01:00
Jürg Lehni
e5f8ee0464 Write comment about calling base() from Layer#initialize(). 2011-05-17 13:14:23 +01:00
Jürg Lehni
c07f9b438e Use same modification in static create() method of ParagraphStyle and CharacterStyle as was used in PathStyle. 2011-05-17 13:14:04 +01:00
Jürg Lehni
2c03cb1ccb Use Base.initialize() in both ParagraphStyle and CharacterStyle's #initialize(). 2011-05-17 13:13:24 +01:00
Jürg Lehni
6427bca46e No beans required in ParagraphStyle yet. 2011-05-17 13:12:44 +01:00
Jürg Lehni
7d1d6fa9da Define Base.initialize() as a general purpose way to initialize a newly created object with values from a provided object and default values from another, in case they are not provided. 2011-05-17 13:12:19 +01:00
Jürg Lehni
5369b251ae Move comment. 2011-05-17 13:11:09 +01:00
Jürg Lehni
41dd9eb131 Point.read() always returns an object even if nothing is provided, no need to have a default value. 2011-05-17 13:10:57 +01:00
Jürg Lehni
e5198fea40 Remove unused code that seems to stem from PointText. 2011-05-17 13:10:22 +01:00
Jürg Lehni
4be0e55dc5 Use #appendTop() instead of the remove #appendChild() in tests. 2011-05-17 13:09:35 +01:00
Jürg Lehni
515dbbb151 Fix error in Item#removeChildren(). 2011-05-17 13:09:10 +01:00
Jürg Lehni
1c12c82df1 Rename unit test file Document.js to Project.js. 2011-05-17 13:08:36 +01:00
Jürg Lehni
eafc0d202e Add comment about #clockwise magic happening in #append*() methods. 2011-05-16 20:17:14 +01:00
Jürg Lehni
4d0858c6bf Add more CompounPath tests. 2011-05-16 20:16:51 +01:00
Jürg Lehni
889b1687f9 Use #setChildren() in Group constructor and allow passing of children both as arguments and inside an array. 2011-05-16 20:16:27 +01:00
Jürg Lehni
baf35ea18c Rename parameter. 2011-05-16 20:15:16 +01:00
Jürg Lehni
8a449b0e76 Remove deprecated Item#appendChild(). 2011-05-16 20:14:49 +01:00
Jürg Lehni
f12ed7234a Shorten code. 2011-05-16 19:44:46 +01:00
Jürg Lehni
97c4435d87 Fix typo. 2011-05-16 19:35:42 +01:00
Jürg Lehni
d535a1f6fc Clean up method sequence in Item. 2011-05-16 19:35:09 +01:00
Jürg Lehni
75b0fa3596 Add Item#removeChildren() and #setChildren(). 2011-05-16 19:34:57 +01:00
Jürg Lehni
00b5f6a6bb Improve Group tests. 2011-05-16 19:21:44 +01:00
Jürg Lehni
c4203fe174 Change the way associated PathStyles are created and updated. 2011-05-16 19:21:36 +01:00
Jürg Lehni
05c0eb0e51 Simplify PathStyle#initialize(). 2011-05-16 19:20:32 +01:00
Jürg Lehni
34110fa82d Move #_setStyle() closer to the related styles hash. 2011-05-16 19:19:18 +01:00
Jürg Lehni
c8c47bf641 get styles directly from _style object rather than passing through getters on Item. 2011-05-16 18:57:47 +01:00
Jürg Lehni
da670b4171 Improve comments. 2011-05-16 18:29:53 +01:00
Jürg Lehni
8faf989fcc Merge remote-tracking branch 'origin/master' 2011-05-16 18:29:22 +01:00
Jonathan Puckey
3f3f6dc575 Add Vektor example to Tools. 2011-05-16 17:57:58 +02:00
Jürg Lehni
8b2da34483 Remove reference to inexisting Request.js file. 2011-05-16 16:57:52 +01:00
Jonathan Puckey
4ebb6985d6 CharacterStyle: Use 'sans-serif' as default font. 2011-05-16 15:58:10 +02:00
Jonathan Puckey
6dbecffd85 Merge remote branch 'origin/master' 2011-05-16 15:46:35 +02:00
Jonathan Puckey
2be70ae73f Gradient#setStops: improve checking for array. 2011-05-16 15:46:25 +02:00
Jürg Lehni
b65ec49207 Merge remote-tracking branch 'origin/master' 2011-05-16 14:26:48 +01:00
Jürg Lehni
c30565fb7b Remove files forgotten in recent renaming. 2011-05-16 14:26:16 +01:00
Jonathan Puckey
06f738d4db Add PathStructure example to Scripts. 2011-05-16 15:26:07 +02:00