Jonathan Puckey
|
6b611add37
|
More documentation edits and function reordering.
|
2011-05-26 20:09:25 +02:00 |
|
Jonathan Puckey
|
93b06f3acb
|
Add PlacedSymbol documentation.
|
2011-05-23 19:48:48 +02:00 |
|
Jonathan Puckey
|
08f6f94fb6
|
Clean up whitespace in Item documentation.
|
2011-05-23 17:10:12 +02:00 |
|
Jonathan Puckey
|
dc66049312
|
Documentation: small adjustment to Item#clone
|
2011-05-23 17:07:35 +02:00 |
|
Jonathan Puckey
|
d0ecd6a4ad
|
Layer: small edit to constructor docs.
|
2011-05-23 17:02:22 +02:00 |
|
Jonathan Puckey
|
59af5343b5
|
Add Layer documentation.
|
2011-05-23 17:00:37 +02:00 |
|
Jonathan Puckey
|
872fbe1574
|
Document some more Raster functions.
|
2011-05-23 16:19:37 +02:00 |
|
Jonathan Puckey
|
04e34128ae
|
Fix Raster#visible default value.
|
2011-05-23 16:18:59 +02:00 |
|
Jonathan Puckey
|
53d7a1e914
|
Add Raster documentation.
|
2011-05-23 16:09:04 +02:00 |
|
Jonathan Puckey
|
3d1317cece
|
Item docs: change order of removeOn documentation.
|
2011-05-23 13:47:21 +02:00 |
|
Jonathan Puckey
|
c4f53cf297
|
Group documentation.
|
2011-05-23 13:37:13 +02:00 |
|
Jonathan Puckey
|
211635f206
|
Cleanup last commit.
|
2011-05-23 04:20:11 +02:00 |
|
Jonathan Puckey
|
987ac5b8f7
|
Adjust PathStyle constructor documentation.
|
2011-05-23 03:47:39 +02:00 |
|
Jonathan Puckey
|
c3246a969c
|
PathStyle documentation: rename Document to Project.
|
2011-05-23 03:43:49 +02:00 |
|
Jonathan Puckey
|
548a2983fb
|
Add PathStyle documentation.
|
2011-05-23 03:41:20 +02:00 |
|
Jonathan Puckey
|
8522a4485e
|
Add documentation for Item.
|
2011-05-22 23:39:54 +02:00 |
|
Jonathan Puckey
|
572b62590e
|
Fix Raster#clone.
|
2011-05-21 18:02:09 +02:00 |
|
Jürg Lehni
|
816424a9c5
|
Merge remote-tracking branch 'origin/master'
Conflicts:
test/lib/helpers.js
|
2011-05-21 14:41:08 +01:00 |
|
Jürg Lehni
|
b3281806a3
|
No need to check if _style is defined now since even Layer (ineriting from Group) now has a style.
|
2011-05-21 14:29:00 +01:00 |
|
Jürg Lehni
|
a51957bf64
|
Change PathStyle to clone values in setters if they provide a clone function. This requires also using equals() wherevere they are checked to be the same or different.
|
2011-05-21 14:28:08 +01:00 |
|
Jonathan Puckey
|
73a2f0f256
|
Implement Raster#clone.
|
2011-05-21 12:50:02 +02:00 |
|
Jürg Lehni
|
b461368b18
|
Found a clean way for Layer#initialize() to call this.base() too, without implicitely calling paper.project.activeLayer.appendTop.
|
2011-05-21 01:05:22 +01:00 |
|
Jonathan Puckey
|
fc3833f150
|
Fix PlacedSymbol#clone().
|
2011-05-20 19:41:53 +02:00 |
|
Jonathan Puckey
|
013fe56ea4
|
Item#_clone: check if the item has a _pathStyle property before copying it.
|
2011-05-20 19:35:26 +02:00 |
|
Jürg Lehni
|
be63d2cf07
|
Remove empty line.
|
2011-05-20 14:04:35 +01:00 |
|
Jürg Lehni
|
5713bc07f2
|
Define PlacedSymbol#clone(), needs testing.
|
2011-05-20 08:55:35 +01:00 |
|
Jürg Lehni
|
87d340e525
|
Introduce private Item#_clone(copy), so subclasses can override the way the copy is actually produced, e.g. providing parameters to the constructor.
|
2011-05-20 08:50:09 +01:00 |
|
Jürg Lehni
|
1c479f315e
|
Add some comments to Item#clone().
|
2011-05-19 22:09:51 +01:00 |
|
Jürg Lehni
|
276eb3301e
|
Define scafold #clone() function for the classes that still required a proper definition.
|
2011-05-19 21:56:49 +01:00 |
|
Jürg Lehni
|
7401e42316
|
Implement #clone() for Item, Group and Path. Needs testing.
|
2011-05-19 21:56:23 +01:00 |
|
Jürg Lehni
|
b52abbfbc1
|
Replace removed 'hidden' property with 'visible'.
|
2011-05-19 21:55:51 +01:00 |
|
Jürg Lehni
|
57b194e047
|
Add explaining comments to Raster#getAverageColor() code.
|
2011-05-19 18:51:13 +01:00 |
|
Jürg Lehni
|
e8d4a16ab2
|
Shorten Raster#getAverageColor().
|
2011-05-19 18:47:49 +01:00 |
|
Jürg Lehni
|
b103af4216
|
Merge remote-tracking branch 'origin/master'
|
2011-05-19 18:35:45 +01:00 |
|
Jürg Lehni
|
09612c4623
|
Remove the versions of #clone() that follow the scheme provided by Base#clone() now.
|
2011-05-19 18:35:38 +01:00 |
|
Jonathan Puckey
|
f965e53a06
|
Optimize Path#getAverageColor
|
2011-05-19 15:43:23 +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
|
26269d394a
|
Rename project/ProjectView -> ui/View.
|
2011-05-17 13:29:07 +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
|
515dbbb151
|
Fix error in Item#removeChildren().
|
2011-05-17 13:09:10 +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
|
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 |
|