Jonathan Puckey
|
732caec7bf
|
Speed up drawing of selected items.
|
2011-04-21 15:48:21 +02:00 |
|
Jonathan Puckey
|
517793c48a
|
Implement Item#get/setDocument and Document#selectedItems.
|
2011-04-21 15:47:00 +02:00 |
|
Jonathan Puckey
|
1d92aea8e2
|
Fix Item#setSelected.
|
2011-04-20 16:00:08 +02:00 |
|
Jonathan Puckey
|
3fcfe3adbb
|
Implement drawing of selection of PlacedSymbol & Raster items.
|
2011-04-18 18:46:39 +02:00 |
|
Jonathan Puckey
|
be9f312110
|
Implement a first version of drawing path selection.
|
2011-04-17 18:46:35 +02:00 |
|
Jonathan Puckey
|
8a113a1c84
|
Item: clean up white space.
|
2011-04-12 14:37:52 +02:00 |
|
Jonathan Puckey
|
d02885cba7
|
Implement Item#isParent and add tests for it.
|
2011-04-11 19:42:03 +02:00 |
|
Jürg Lehni
|
b5fdecf3d1
|
Rename ObservedRectangle to LinkedRectangle, ObservedPoint to LinkedPoint, and add more comments about what it is they are doing.
|
2011-03-22 17:27:46 +00:00 |
|
Jürg Lehni
|
7ae504e51f
|
Add support for Item#removeOnMove().
|
2011-03-20 00:11:02 +00:00 |
|
Jürg Lehni
|
1267f41559
|
Add beginning of ObservedRectangle support and test it in animatedStar example.
|
2011-03-16 23:32:46 +01:00 |
|
Jürg Lehni
|
d5fa3d7ae6
|
Merge remote-tracking branch 'origin/master'
Conflicts:
src/item/Raster.js
|
2011-03-13 18:34:05 +01:00 |
|
Jürg Lehni
|
9d4af0ce9e
|
Clean up recently caused Base.read() mess by introducing _readNull property,m setting it to true on Color and reverting to previous behavior for Point, Size and Rectangle, where dimensions of 0 are read by default if nothing is provided.
|
2011-03-13 18:31:00 +01:00 |
|
Jürg Lehni
|
1cd6daada1
|
Use _item instead of item as internal reference to PathStyle's item.
|
2011-03-13 18:29:59 +01:00 |
|
Jonathan Puckey
|
d7399926a0
|
Allow for Raster#setPixel(x, y, color).
|
2011-03-11 14:23:30 +01:00 |
|
Jonathan Puckey
|
b643fdfc1f
|
Implement Item#removeOn and Item#getId.
|
2011-03-09 19:35:03 +01:00 |
|
Jürg Lehni
|
c7cefcba3a
|
Merge remote-tracking branch 'origin/master'
|
2011-03-09 18:17:50 +00:00 |
|
Jürg Lehni
|
427e969d3d
|
Add data access to Raster, untested.
|
2011-03-09 18:17:12 +00:00 |
|
Jonathan Puckey
|
dae2d6acb1
|
Remove todo in PlacedSymbol.
|
2011-03-09 17:09:23 +01:00 |
|
Jonathan Puckey
|
526711ffd4
|
Fix and improve performance of Raster#getPixel.
|
2011-03-09 13:38:58 +01:00 |
|
Jürg Lehni
|
72469dc65f
|
Clean up PlacedSymbol constructor, make sure it declares parameters.
|
2011-03-08 17:21:05 +00:00 |
|
Jürg Lehni
|
456e9f2815
|
Use variable definition chaining in Raster.
|
2011-03-08 12:55:34 +00:00 |
|
Jürg Lehni
|
6a67052090
|
Update copyright / licensing comments.
|
2011-03-08 01:41:50 +00:00 |
|
Jürg Lehni
|
e1a7aff2f0
|
Add copyright notice and license file.
|
2011-03-07 00:50:44 +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
|
2d4cf2cc72
|
Replace beans access to Item#position with getter calls.
|
2011-03-06 21:12:11 +00:00 |
|
Jürg Lehni
|
deb78b78cf
|
Define fast Rectangle.create() and use it internally where applicable.
|
2011-03-06 18:45:56 +00:00 |
|
Jürg Lehni
|
162dab66a7
|
Clean up code.
|
2011-03-06 15:15:21 +00:00 |
|
Jürg Lehni
|
78c7f645ab
|
Merge remote-tracking branch 'origin/master'
|
2011-03-06 14:45:57 +00:00 |
|
Jürg Lehni
|
8be1041011
|
Make style setter calls chainable.
|
2011-03-06 14:44:54 +00:00 |
|
Jonathan Puckey
|
40b7571489
|
Move BlendMode into util and add missing var.
|
2011-03-06 15:44:51 +01:00 |
|
Jonathan Puckey
|
54c1f3d8b1
|
Fix Raster#setSize.
|
2011-03-06 15:08:41 +01:00 |
|
Jonathan Puckey
|
336c9e1441
|
Fix bug in setHidden where Item#visible was being interpreted as a bean.
|
2011-03-06 14:50:57 +01:00 |
|
Jürg Lehni
|
0a690788ef
|
Allow chaining of Item transform functions.
|
2011-03-06 11:42:08 +00:00 |
|
Jürg Lehni
|
5392268b83
|
Remove Raster/PlacedSymbol specific code form Matrix#transformBounds() and use Rectangle#setCenter() instead to center the bounds rectangle on the origin.
|
2011-03-05 21:05:07 +00:00 |
|
Jürg Lehni
|
3f0a45a7c2
|
Allow Rasters to be created directly from id strings.
|
2011-03-05 14:17:32 +00:00 |
|
Jürg Lehni
|
cc134de058
|
Remove trailing collon.
|
2011-03-05 13:51:23 +00:00 |
|
Jürg Lehni
|
836ee492ae
|
More beans related refactoring.
|
2011-03-05 02:40:38 +00:00 |
|
Jürg Lehni
|
e87e7b2582
|
Move get/setContext to get/setCanvas.
|
2011-03-05 01:59:01 +00:00 |
|
Jürg Lehni
|
a365bf45a4
|
Apply the same optimisation from previous commit to Layer.
|
2011-03-05 01:53:32 +00:00 |
|
Jürg Lehni
|
02bf012aa5
|
Simplify #appendTop / Bottom and #moveAbove / Bellow by using generator functions.
|
2011-03-05 01:50:56 +00:00 |
|
Jürg Lehni
|
ce74516228
|
Remove more beans access, this time related to various PathStyle getters / setters.
|
2011-03-05 01:36:27 +00:00 |
|
Jürg Lehni
|
c313e702c9
|
Clean up a whole lot of beans access, and in the process of the refactoring improve canvas, context, size and bounds handling in Raster and PlacedSymbol.
|
2011-03-05 01:26:12 +00:00 |
|
Jürg Lehni
|
b1027dbb38
|
Use better variable name.
|
2011-03-05 00:24:32 +00:00 |
|
Jürg Lehni
|
1d858147ec
|
Stop using style beans internally.
|
2011-03-05 00:23:16 +00:00 |
|
Jürg Lehni
|
1d866ecb6c
|
Clean up internal properties and beans in Color related classes.
|
2011-03-05 00:16:26 +00:00 |
|
Jürg Lehni
|
44ab8ed3a0
|
Refer to currentStyle through getters and setters, not through beans.
|
2011-03-05 00:03:28 +00:00 |
|
Jürg Lehni
|
be6d60102c
|
Make sure Item#children is always checked for != null and simplify many of the DOM methods.
|
2011-03-04 21:34:14 +00:00 |
|
Jürg Lehni
|
e66dd46b9c
|
Start improving Item#clone() / #copyTo().
|
2011-03-04 20:57:16 +00:00 |
|
Jürg Lehni
|
93c3920505
|
Add definition of Base.capitalize() and remove dependencies of String#capitalize().
|
2011-03-04 19:46:41 +00:00 |
|
Jürg Lehni
|
92bf51a7cc
|
Simplify the way the paper namespace is created and populated.
|
2011-03-04 13:34:31 +00:00 |
|