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 |
|
Jürg Lehni
|
c68a7d33da
|
Switch from options.browser and options.node to options.environment
|
2013-10-10 23:09:00 +02:00 |
|
Jürg Lehni
|
6b45a9382c
|
Replace typeof x !== 'undefined' checks with typeof x === 'object'.
|
2013-10-10 20:36:33 +02:00 |
|
Jürg Lehni
|
94fac965ec
|
Minor improvement in Base.equals()
|
2013-10-10 20:15:56 +02:00 |
|
Jürg Lehni
|
c5e43778bc
|
Allow the minification of the undefined variable by defining it as a local parameter inside the paper scope.
|
2013-10-10 20:15:32 +02:00 |
|
Jürg Lehni
|
b87448015d
|
Include latest version of straps.js
|
2013-10-10 19:58:52 +02:00 |
|
Jürg Lehni
|
d158056899
|
Optimise DomElement.getPrefixValue()
|
2013-10-10 16:40:46 +02:00 |
|
Jürg Lehni
|
22e13df102
|
Implement support for Hi-DPI canvas on Retina screens.
|
2013-10-10 16:31:24 +02:00 |
|
Jürg Lehni
|
ddc359166b
|
Include latest version of straps that solves an issue with injecting DomElement into PaperScope.
|
2013-10-10 16:23:45 +02:00 |
|
Jürg Lehni
|
03efd56df7
|
Fix strange issue on iOS 7 where a simple regular expression appears to cause a complete browser crash.
Closes #306.
|
2013-10-10 14:47:27 +02:00 |
|
Jürg Lehni
|
24e46bee60
|
Merge branch 'refs/heads/boolean-fix'
|
2013-10-08 20:50:47 +02:00 |
|
Jürg Lehni
|
0860cdd941
|
Clean up code a bit.
|
2013-10-08 20:49:24 +02:00 |
|
Jürg Lehni
|
367aa8ea28
|
Do not allow numeric values for Item#name.
Closes #298.
|
2013-10-08 20:38:16 +02:00 |
|
Jürg Lehni
|
921a68e4a2
|
Rename _removeFromNamed to _removeNamed.
|
2013-10-08 20:25:26 +02:00 |
|