Commit graph

2095 commits

Author SHA1 Message Date
Jürg Lehni
1e436b2980 Use typed array in documentation. 2011-06-19 21:50:10 +01:00
Jürg Lehni
cb61e8d452 Implement rest of ChangeFlags.HIERARCHY notifications. 2011-06-19 21:49:26 +01:00
Jürg Lehni
fe7c618deb Define Item#addChildren() / #insertChildren() and adjust documentation a bit. 2011-06-19 21:48:36 +01:00
Jürg Lehni
bf627d9d9c Remove all beans: true settings. 2011-06-19 18:54:41 +01:00
Jürg Lehni
7d2f10f22b Rename private move() -> insert(), to reflect recent name changes. 2011-06-19 18:50:23 +01:00
Jürg Lehni
bbcec27031 Move support for _bounds caching to Item and start using it in PlacedSymbol. 2011-06-19 18:07:53 +01:00
Jürg Lehni
c0fa5b3711 Merge remote-tracking branch 'origin/master' 2011-06-19 17:47:25 +01:00
Jürg Lehni
7ca9bcf38a Further shorten #_getBounds() code. 2011-06-19 17:47:20 +01:00
Jürg Lehni
82ef06212b Shorten #_getBounds() code. 2011-06-19 17:46:39 +01:00
Jürg Lehni
f474bd9085 No need to redefine deprecated #moveAbove()/Below(), since they're redirecting to #insertAbove()/Below(). 2011-06-19 17:33:28 +01:00
Jürg Lehni
812d3fb366 Rename #_removeFromParent() -> #_remove(). 2011-06-19 17:32:43 +01:00
Jürg Lehni
4eb6d78f1f Have #_removeFromParent() handle deselection and change notification. 2011-06-19 17:30:47 +01:00
Jürg Lehni
9d2f8c5035 Only call _changed() if selection actually changes. 2011-06-19 16:47:24 +01:00
Jürg Lehni
0063fdc98f Ignore patches directory. 2011-06-19 16:37:54 +01:00
Jonathan Puckey
c167920480 Examples: replace use of deprecated functions. 2011-06-19 17:37:43 +02:00
Jonathan Puckey
874cf5713f Merge branch 'master' of https://github.com/scriptographer/paper.js 2011-06-19 17:34:46 +02:00
Jonathan Puckey
e77caf610b Update BouncingBalls example to the version on Paperjs.org 2011-06-19 17:34:32 +02:00
Jürg Lehni
a42b1e37ed Merge remote-tracking branch 'origin/master' 2011-06-19 16:28:40 +01:00
Jürg Lehni
eb73c55736 Use Item#remove() instead of calling #setSelected(false) and #_removeFromParent(). 2011-06-19 16:13:38 +01:00
Jürg Lehni
2fe274741a Assume that _index is always correct and do not check for Base.splice() result in remove functions. 2011-06-19 16:08:51 +01:00
Jonathan Puckey
26f326e32d Add Fitting example to scripts. 2011-06-19 16:45:29 +02:00
Jonathan Puckey
57e23950c2 Change image used in DivisionRaster example. 2011-06-19 15:18:17 +02:00
Jonathan Puckey
fcb7a74610 Clean up DivisionRaster example. 2011-06-19 15:01:53 +02:00
Jonathan Puckey
faf9b453d1 Clean up the PhyllotaxisRaster example and use Item#fitBounds instead of stretching the image. 2011-06-19 03:43:47 +02:00
Jonathan Puckey
a0dbf3eb45 Add DivisionRaster example. 2011-06-19 03:32:07 +02:00
Jonathan Puckey
d13e9bbaa1 Replace accidental beans access in Item#setBounds with corresponding getters. 2011-06-19 03:28:27 +02:00
Jonathan Puckey
7285d6fc85 Implement Item#fitBounds(rectangle, fill), which transforms the item so that its bounding rectangle fits within the specified rectangle, without changing its aspect ratio. 2011-06-19 03:26:51 +02:00
Jonathan Puckey
c5f3e98abb Item: remove trailing comma. 2011-06-19 01:40:34 +02:00
Jonathan Puckey
eecebdb831 Item: fix problem with #children docs. 2011-06-18 17:40:50 +02:00
Jonathan Puckey
f26a9a2327 Item: document #dashArray & #dashOffset. 2011-06-17 21:04:32 +02:00
Jonathan Puckey
6f41aaf217 PathStyle: document #dashOffset & #dashArray. 2011-06-17 20:55:12 +02:00
Jürg Lehni
fe416e294d Fix issue with a path not being selected when one of its segment is selected directly. 2011-06-17 19:00:41 +01:00
Jürg Lehni
ca16e43c1f Implement getters / setters for #locked, #visible, #blendMode and #opacity, and call _changed() from setters. 2011-06-17 18:53:34 +01:00
Jürg Lehni
0b8b0f9a08 Merge branch 'master' of github.com:scriptographer/paper.js 2011-06-17 18:43:07 +01:00
Jürg Lehni
3226147e00 Use a version of Bootstrap that always produces beans and remove all beans: true instructions. 2011-06-17 18:42:29 +01:00
Jonathan Puckey
ded5a9aa03 Merge remote branch 'origin/master' 2011-06-17 19:41:42 +02:00
Jonathan Puckey
78278dd324 Update JsDoc. 2011-06-17 19:14:00 +02:00
Jürg Lehni
7bd571de17 Remove obsolete comment. 2011-06-17 18:09:15 +01:00
Jürg Lehni
b4f052a64b Improve Item documentation. 2011-06-17 18:04:00 +01:00
Jürg Lehni
5d13d3a40d Add from/to parameters to Item#removeChildren() and improve documentation. 2011-06-17 17:55:30 +01:00
Jürg Lehni
5bc4f69856 Improve documentation for Path#removeSegments(). 2011-06-17 17:54:37 +01:00
Jürg Lehni
7dcdb5ca2f Improve documentation for Path#removeSegments(). 2011-06-17 17:46:42 +01:00
Jürg Lehni
ee0446fa4f Implement #insertAbove/Below using the new #insertChild, allowing the removal of one injection scope, and rearrange function sequence for documentation. 2011-06-17 17:35:26 +01:00
Jonathan Puckey
69d7e026ba Merge remote branch 'origin/master' 2011-06-17 18:23:16 +02:00
Jonathan Puckey
27eb05b631 Fix JsDoc submodule. 2011-06-17 18:23:06 +02:00
Jürg Lehni
5020484402 Merge remote-tracking branch 'origin/master' 2011-06-17 17:07:18 +01:00
Jonathan Puckey
0cf008302c Merge remote branch 'origin/master' 2011-06-17 18:06:44 +02:00
Jonathan Puckey
0c6c4b999c Update JsDoc. 2011-06-17 18:06:33 +02:00
Jürg Lehni
85c5e2a7eb Item#insertChild(): Only remove from parent if we're actually inserting the item in the new location. 2011-06-17 16:56:04 +01:00
Jürg Lehni
6f4a9d5c7b Merge branch 'master' of github.com:scriptographer/paper.js
Conflicts:
	test/tests/Item.js
2011-06-17 16:36:58 +01:00