Jürg Lehni
|
83be3cb023
|
Fix SVGImport tests to work with new Shape import.
|
2013-10-17 13:02:35 +02:00 |
|
Jürg Lehni
|
9976033655
|
Implement serialization of selection.
|
2013-10-17 12:04:11 +02:00 |
|
Jürg Lehni
|
3958d35f28
|
Change behavior of Path#fullySelected.
Setting it on empty paths does the same as Path#selected.
|
2013-10-17 12:03:46 +02:00 |
|
Jürg Lehni
|
c2a34d9f1f
|
Implement an easier approach in serialization to handle the default value of leading.
|
2013-10-17 11:53:34 +02:00 |
|
Jürg Lehni
|
1eb6b49e8a
|
Allow serialization values to mark themselves as _default.
Solves unnecessarily serialized leading values.
|
2013-10-17 11:47:46 +02:00 |
|
Jürg Lehni
|
efe8bab129
|
Revert previous Style change.
|
2013-10-17 11:40:44 +02:00 |
|
Jürg Lehni
|
7a3448712b
|
Remove duplicate test and clean up code.
|
2013-10-17 11:32:11 +02:00 |
|
Jürg Lehni
|
2324fbc565
|
Define correct style default for leading.
|
2013-10-17 11:14:34 +02:00 |
|
Jürg Lehni
|
922f224cbd
|
Finally remove the _gradientMatrix hack.
|
2013-10-16 23:47:21 +02:00 |
|
Jürg Lehni
|
9956a6ff51
|
Implement Shape#toPath(), analogue to Path#toShape().
This way is much simpler though.
|
2013-10-16 23:44:50 +02:00 |
|
Jürg Lehni
|
51cf1cfec6
|
Clean up Path#toShape().
|
2013-10-16 23:35:50 +02:00 |
|
Jürg Lehni
|
772f8175e4
|
Remove path to shape guess-work from SVGExport.
|
2013-10-16 23:21:29 +02:00 |
|
Jürg Lehni
|
c4c7a37993
|
Implement Path#toShape(), Segment#isColinear(), Segment#isOrthogonal() and Segment#isArc().
|
2013-10-16 23:10:03 +02:00 |
|
Jürg Lehni
|
0129080a08
|
SVG: Add parallelogram to example.
We should really have a test-case in place...
|
2013-10-16 17:11:15 +02:00 |
|
Jürg Lehni
|
751dfe52ea
|
SVG: Define additional orthogonal check when determining shape type.
Closes #283.
|
2013-10-16 17:06:29 +02:00 |
|
Jürg Lehni
|
be5a73a61d
|
SVG: Implement support for Shape.
|
2013-10-16 16:47:00 +02:00 |
|
Jürg Lehni
|
8ab6c61b0d
|
Rename Shape#type to Shape#shape, to avoid clash with Item#type.
|
2013-10-16 16:46:22 +02:00 |
|
Jürg Lehni
|
3c0d1f26db
|
Replace accidental semi-colon.
|
2013-10-16 16:14:37 +02:00 |
|
Jürg Lehni
|
953bba4c7b
|
SVG: Use Shape instead of Path constructors for primitive shapes.
|
2013-10-16 16:12:46 +02:00 |
|
Jürg Lehni
|
392cef3961
|
Add missing colon.
|
2013-10-16 16:11:08 +02:00 |
|
Jürg Lehni
|
b581c84d8b
|
Move CompoundPath#reduce() to Item#reduce().
|
2013-10-16 16:10:28 +02:00 |
|
Jürg Lehni
|
c0c5695b5a
|
Fix indentation.
|
2013-10-16 16:09:34 +02:00 |
|
Jürg Lehni
|
fb6ff59218
|
Improve ProxyContext: Use JSON.stringify() for rendering values correctly, and streamline code.
|
2013-10-16 16:09:11 +02:00 |
|
Jürg Lehni
|
d45ba19914
|
SVG: Use new Path.Ellipse constructor.
|
2013-10-16 15:28:59 +02:00 |
|
Jürg Lehni
|
01a0920c92
|
SVG: Fix faulty parsing of matrix values.
|
2013-10-16 15:27:49 +02:00 |
|
Jürg Lehni
|
f63cb40723
|
Fix SVG error in importing transformed gradients with highlights.
|
2013-10-16 15:09:23 +02:00 |
|
Jürg Lehni
|
1decf451b4
|
Implement efficient filtering of already consumed values in argument reading from object literals.
|
2013-10-16 15:08:44 +02:00 |
|
Jürg Lehni
|
9eb1c104da
|
Implement Shape#clone()
|
2013-10-16 15:04:50 +02:00 |
|
Jürg Lehni
|
b35296ef3e
|
Improve Shape.Ellipse to support center & radius parameters, and update documentation.
|
2013-10-16 15:04:37 +02:00 |
|
Jürg Lehni
|
b325aebc77
|
Docs: More smaller fixes.
|
2013-10-16 15:03:29 +02:00 |
|
Jürg Lehni
|
543609c0c6
|
Have Path.Ellipse constructor support negative radius values correctly.
|
2013-10-16 14:25:14 +02:00 |
|
Jürg Lehni
|
c945bf7908
|
Docs: Various smaller clean ups.
|
2013-10-16 14:20:13 +02:00 |
|
Jürg Lehni
|
3af179e2cf
|
Docs: Improve Path constructors.
|
2013-10-16 14:19:25 +02:00 |
|
Jürg Lehni
|
41d6650666
|
Add support for named center & radius arguments to Path.Ellipse.
|
2013-10-16 13:32:40 +02:00 |
|
Jürg Lehni
|
4b636dd31c
|
Clean up Path constructors code.
|
2013-10-16 13:26:08 +02:00 |
|
Jürg Lehni
|
8fdcbce5ac
|
Improve argument reading in Segment.
|
2013-10-16 13:15:08 +02:00 |
|
Jürg Lehni
|
ac5c45906f
|
Update to latest straps.js, with changed Base.create() method.
|
2013-10-14 23:37:43 +02:00 |
|
Jürg Lehni
|
ba8e0b791e
|
Fix rotated primitives example.
Only use Path shapes here.
|
2013-10-14 21:27:08 +02:00 |
|
Jürg Lehni
|
041d88c89c
|
Clean up clipping example.
|
2013-10-14 21:26:43 +02:00 |
|
Jürg Lehni
|
2263afea59
|
Start implementing rounded rectangles in Shape.Rectangle.
|
2013-10-14 19:57:28 +02:00 |
|
Jürg Lehni
|
d8f7799fc4
|
Update rotates primitives examples.
|
2013-10-14 19:56:51 +02:00 |
|
Jürg Lehni
|
7285ec636a
|
Improve CanvasView constructor.
Support canvas / size arguments, but not both together, and throw exception if both fail.
|
2013-10-14 16:06:30 +02:00 |
|
Jürg Lehni
|
a3d0e0d462
|
Clean up throw statements.
Never throw plain strings.
|
2013-10-14 16:05:50 +02:00 |
|
Jürg Lehni
|
b9ba2364fe
|
Move Shape#isEmpty() to right place.
|
2013-10-14 09:15:34 +02:00 |
|
Jürg Lehni
|
198305b75c
|
Remove doc comment since Item#isEmpty() is already documented, and move it to an inline comment.
|
2013-10-14 09:14:59 +02:00 |
|
Jürg Lehni
|
bc85dd1dc3
|
Merge pull request #308 from ojj11/isEmptyFix
Override default isEmpty method for Shape
|
2013-10-14 00:11:48 -07:00 |
|
Oliver Jones
|
df7f1fe874
|
Override default isEmpty method for Shape
Fixes (new Group([new Shape.Rectangle(...)])).bounds throwing ReferenceError when using Item's isEmpty
|
2013-10-12 19:28:45 +01:00 |
|
Jürg Lehni
|
dfa1687a90
|
Adapt to new bower_components directory.
|
2013-10-11 00:20:30 +02:00 |
|
Jürg Lehni
|
4738847f30
|
Clean up SVGExport node example.
|
2013-10-10 23:12:53 +02:00 |
|
Jürg Lehni
|
60732e8456
|
No need for default parameter.
|
2013-10-10 23:09:18 +02:00 |
|