Jürg Lehni
|
b7943239eb
|
Implement cached getInternalRoughBounds as well.
|
2013-12-09 19:33:34 +01:00 |
|
Jürg Lehni
|
7278ee4374
|
Make JSON serialization work for Shapes.
|
2013-12-09 17:27:41 +01:00 |
|
Jürg Lehni
|
94d5a09b7b
|
Do not inherit selection behavior from Group in Layer.
|
2013-12-09 15:10:09 +01:00 |
|
Jürg Lehni
|
e238d23194
|
Implement caching of internal, untransformed bounds.
|
2013-12-09 10:53:19 +01:00 |
|
Jürg Lehni
|
81fe98d1bb
|
Make cachedBounds mechanism work for Symbols.
|
2013-12-09 09:05:29 +01:00 |
|
Jürg Lehni
|
f8f60ec603
|
Fix slow-down in bounds caching.
|
2013-12-09 08:58:37 +01:00 |
|
Jürg Lehni
|
2cd3de8188
|
Improve versioning of _globalMatrix
|
2013-12-09 07:51:28 +01:00 |
|
Jürg Lehni
|
064d632d65
|
More matrix related clean-ups.
|
2013-12-08 22:12:36 +01:00 |
|
Jürg Lehni
|
238f577e6f
|
Clean up _getCachedBounds() code.
|
2013-12-08 22:06:32 +01:00 |
|
Jürg Lehni
|
516b9d040f
|
Apply matrices before calculating boolean path operations.
|
2013-12-08 21:39:56 +01:00 |
|
Jürg Lehni
|
24ce35cc6e
|
Make sure items removed from DOM remove all their events and reinstall them again when reinserted.
Closes #254.
|
2013-12-08 20:40:30 +01:00 |
|
Jürg Lehni
|
97fcd6ff38
|
Implement Item#getGlobalMatrix(), #globalToLocal() and #localToGlobal()
Closes #270.
|
2013-12-08 20:04:10 +01:00 |
|
Jürg Lehni
|
6e5d8939d5
|
Rename View#draw() -> View#update() and remove checkRedraw argument.
We always check for changes, since change propagation should work reliably.
|
2013-12-08 19:15:58 +01:00 |
|
Jürg Lehni
|
c75d48cf98
|
Fix comments.
|
2013-12-08 18:45:11 +01:00 |
|
Jürg Lehni
|
afe00add32
|
Implement option.type filtering in #hitTest() functions.
|
2013-12-08 16:32:42 +01:00 |
|
Jürg Lehni
|
61f2f5c978
|
Put constructors into separate ctor variables when handling dontLink parameters before creating objects.
This hopefully solves the mysterious issue #360 on Chrome.
|
2013-12-07 20:03:23 +01:00 |
|
Jürg Lehni
|
acc0e80d78
|
Implement registration point for all items.
Allowing any item to use another point than the center as its anchor point for item.position.
|
2013-12-07 19:46:12 +01:00 |
|
Jürg Lehni
|
2401b38b03
|
Fix issue with group.position not updating when content changes.
|
2013-12-07 19:17:59 +01:00 |
|
Jürg Lehni
|
758c9b6146
|
Improve caching of decomposed transformation values.
|
2013-12-07 12:47:16 +01:00 |
|
Jürg Lehni
|
9ca92165ee
|
Expose rotation and scaling transformations through Item#rotation and Item#scaling properties, by moving the setters from Matrix to Item.
|
2013-12-07 12:16:11 +01:00 |
|
Jürg Lehni
|
3d94ff6968
|
Only decompose matrix if there are bounds to be reused.
|
2013-12-07 05:50:08 +01:00 |
|
Jürg Lehni
|
1ba77f9d40
|
Implement Item#skew() and clean up Item transformation functions documentation.
|
2013-12-07 05:21:27 +01:00 |
|
Jürg Lehni
|
2d307f0e7c
|
Only preserve bounds if there is no shearing in the transformation.
Closes #358.
|
2013-12-07 05:19:49 +01:00 |
|
Jürg Lehni
|
7e9989c6b9
|
Improve comment about globalMatrix.isInvertible() check.
|
2013-12-06 13:41:57 +01:00 |
|
Jürg Lehni
|
92590b160c
|
Implement Canvas Path caching again using Context#currentPath.
|
2013-12-06 12:49:46 +01:00 |
|
Jürg Lehni
|
550749d057
|
Avoid issues with _matrix being undefined when items are created and added in a certain sequence.
Closes #279.
|
2013-12-03 23:14:34 +01:00 |
|
Jürg Lehni
|
fc02c58ddb
|
Implement asynchronously loading Rasters from disk and remote locations for Node.js
Closes #328.
|
2013-12-03 23:07:54 +01:00 |
|
Jürg Lehni
|
dcad9d44ed
|
Copy over parent style in Item#reduce().
Only really needed for CompoundPath...
|
2013-11-30 14:02:54 +01:00 |
|
Jürg Lehni
|
93d10983ee
|
Update to latest Prepro.js and switch from global options object to __options, to avoid name clashes.
|
2013-11-29 20:26:38 +01:00 |
|
Jürg Lehni
|
1149399690
|
Add missing DOCS comments.
|
2013-11-29 18:50:04 +01:00 |
|
Jürg Lehni
|
7e65426158
|
Implement Item#data cloning.
Closes #340.
|
2013-11-28 22:27:14 +01:00 |
|
Jürg Lehni
|
593e0d8d7f
|
Remove Base.merge() and use a new Straps.js feature instead.
A more clever Base() constructor that allows merging.
|
2013-11-28 22:20:00 +01:00 |
|
Jürg Lehni
|
c0e8285c07
|
Fix setting #radius on Shape.Circle.
|
2013-11-28 18:03:41 +01:00 |
|
Jürg Lehni
|
18db7c0d56
|
Fix issue with items with frame events never being removed from _frameItems list.
|
2013-11-27 12:38:56 +01:00 |
|
Jürg Lehni
|
97d94e8401
|
Allow Path#transformContent to be set to false too.
|
2013-11-26 23:12:55 +01:00 |
|
Jürg Lehni
|
b96f9ff57b
|
Rearrange method sequence in Item.
|
2013-11-26 19:27:09 +01:00 |
|
Jürg Lehni
|
56f25e8742
|
Implement change propagation in matrices.
|
2013-11-26 19:03:58 +01:00 |
|
Jürg Lehni
|
da9e1f8de7
|
Define Project#isEmpty()
|
2013-11-24 22:53:41 +01:00 |
|
Jürg Lehni
|
af4410953f
|
Various clean-ups regarding the handling of activeLayer, JSON deserialization, DOM insertion and and layer reusing.
JSON deserialization does no longer insert items into DOM twice now, and should therefore be faster.
|
2013-11-24 16:25:13 +01:00 |
|
Jürg Lehni
|
5439f6ba45
|
We need to take pixel ratio into account when directly blitting blend-modes onto canvas.
|
2013-11-06 13:11:54 +01:00 |
|
Jürg Lehni
|
d6be004ee6
|
Setting a matrix on an item with #transformContent = true should immediately apply it.
|
2013-11-04 11:43:17 +01:00 |
|
Jürg Lehni
|
b8ab0f36f9
|
Remove unused local variable and comment.
|
2013-11-02 20:37:23 +01:00 |
|
Jürg Lehni
|
132f54d362
|
Define Item#clear() as an alias for Item#removeChildren(), or Path#removeSegments() for paths.
|
2013-11-01 17:52:27 +01:00 |
|
Jürg Lehni
|
c76dae5b06
|
Implement a new strategy for importing JSON, where it is imported into the item itself, not its children list, if the class match.
|
2013-11-01 11:26:11 +01:00 |
|
Jürg Lehni
|
2a9fe48cc9
|
Add options.matchShapes support to #exportSVG and improve documentation of various import / export functions.
|
2013-10-30 16:18:59 +01:00 |
|
Jürg Lehni
|
5d7c7a2409
|
Improve documentation of #hitTest()
|
2013-10-30 16:18:15 +01:00 |
|
Jürg Lehni
|
2a88042315
|
Handle importing of SVG gradients for shapes, and drawing of canvas gradients correctly.
Closes #312.
|
2013-10-30 01:25:13 +01:00 |
|
Jürg Lehni
|
eecf68b7c3
|
Clear ctx.shadowColor after ctx.fill() to avoid application to both fill and stroke.
Closes #314.
|
2013-10-30 00:00:04 +01:00 |
|
Jürg Lehni
|
1871e2f7c4
|
Improve comments.
|
2013-10-29 21:18:09 +01:00 |
|
Jürg Lehni
|
fd96447ac1
|
Share ellipse reading code between Shape.Ellipse and Path.Ellipse.
|
2013-10-29 21:15:28 +01:00 |
|