Jonathan Puckey
|
17fcb923ff
|
Documentation: rearrange @example tags, improve examples, rename boolean -> Boolean and misc smaller edits.
|
2011-05-30 19:42:17 +02:00 |
|
Jonathan Puckey
|
93b06f3acb
|
Add PlacedSymbol documentation.
|
2011-05-23 19:48:48 +02:00 |
|
Jonathan Puckey
|
fc3833f150
|
Fix PlacedSymbol#clone().
|
2011-05-20 19:41:53 +02:00 |
|
Jürg Lehni
|
5713bc07f2
|
Define PlacedSymbol#clone(), needs testing.
|
2011-05-20 08:55:35 +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
|
53cc1cd908
|
Apply #position optimisation through caching to all items, not just PlacedSymbol.
|
2011-05-07 13:13:19 +01:00 |
|
Jürg Lehni
|
1413094be2
|
Shorten PlacedSymbol#initialize().
|
2011-05-07 13:12:46 +01:00 |
|
Jürg Lehni
|
72976f4191
|
Use internal _position in PlacedItem and transform it along when a matrix is applied.
|
2011-05-07 11:36:16 +01:00 |
|
Jürg Lehni
|
32ed418bdf
|
Remove unused parameter.
|
2011-05-05 11:20:37 +01:00 |
|
Jonathan Puckey
|
732caec7bf
|
Speed up drawing of selected items.
|
2011-04-21 15:48:21 +02:00 |
|
Jonathan Puckey
|
3fcfe3adbb
|
Implement drawing of selection of PlacedSymbol & Raster items.
|
2011-04-18 18:46:39 +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
|
1267f41559
|
Add beginning of ObservedRectangle support and test it in animatedStar example.
|
2011-03-16 23:32:46 +01:00 |
|
Jonathan Puckey
|
dae2d6acb1
|
Remove todo in PlacedSymbol.
|
2011-03-09 17:09:23 +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
|
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
|
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
|
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
|
92bf51a7cc
|
Simplify the way the paper namespace is created and populated.
|
2011-03-04 13:34:31 +00:00 |
|
Jürg Lehni
|
2b6dede883
|
Clean up white-spaces and line lengths.
|
2011-03-03 22:45:17 +00:00 |
|
Jürg Lehni
|
e9881c02fc
|
Merge remote-tracking branch 'origin/master'
|
2011-03-03 16:33:01 +00:00 |
|
Jürg Lehni
|
5ed30d7089
|
Make sure all files end on empty line.
|
2011-03-03 16:32:55 +00:00 |
|
Jonathan Puckey
|
2f9531810c
|
Implement todos about using strokeBounds instead of bounds.
|
2011-03-03 14:43:37 +01:00 |
|
Jürg Lehni
|
941c3c7346
|
Declare all classes as local variables, so they can be scoped.
|
2011-03-03 13:33:41 +00:00 |
|
Jürg Lehni
|
53b091b871
|
Rename #transformContent() to #_transform(), to make sure it's supposed to be a private method.
|
2011-03-03 12:47:55 +00:00 |
|
Jürg Lehni
|
07fcc000cf
|
Move the new refactored CanvasDraw functionality to static Item.draw() and #draw() instance methods on each prototype.
|
2011-03-03 12:19:43 +00:00 |
|
Jonathan Puckey
|
8ff04b6614
|
Unify canvas drawing commands in CanvasDraw.js and rework compositing code.
|
2011-03-03 02:22:21 +01:00 |
|
Jonathan Puckey
|
285f81f363
|
Support PlacedSymbol opacity.
|
2011-02-28 18:31:51 +01:00 |
|
Jonathan Puckey
|
422b8911b8
|
Fix PlacedSymbol#transformContent.
|
2011-02-26 13:33:13 +01:00 |
|
Jonathan Puckey
|
bebc8bc8cc
|
Another attempt at fixing Item#transformContent. The bounds are correctly calculated now, but Item#rotate rotates the items in the wrong direction and rotating by a point doesn't work well.
|
2011-02-26 00:58:54 +01:00 |
|
Jonathan Puckey
|
f79e6a0454
|
PlacedSymbol & Raster: fix transformContent and support BlendMode.
|
2011-02-25 19:38:55 +01:00 |
|
Jonathan Puckey
|
1c364601b4
|
Added todo about supporting BlendMode for PlacedSymbols.
|
2011-02-25 13:28:35 +01:00 |
|
Jonathan Puckey
|
ec0b1dec1d
|
PlacedSymbol: add missing param object to PlacedSymbol#definition#draw call.
|
2011-02-25 13:13:46 +01:00 |
|
Jonathan Puckey
|
c9d04d33f8
|
Implement BlendMode class.
|
2011-02-25 12:47:52 +01:00 |
|
Jonathan Puckey
|
cd5b2a7198
|
PlacedSymbol/ Raster: Use Matrix#applyToContext in draw functions. Also clean up Raster a bit.
|
2011-02-21 19:04:51 +01:00 |
|
Jonathan Puckey
|
cb40d3f6f4
|
Implement Symbol and PlacedSymbol. Add Document#symbols array.
|
2011-02-20 18:34:38 +01:00 |
|