Jürg Lehni
|
878be7962e
|
Merge branch 'refs/heads/master' into solve-cubic
Conflicts:
src/path/Curve.js
src/path/PathItem.Boolean.js
src/util/Numerical.js
|
2015-01-02 15:33:23 +01:00 |
|
Jürg Lehni
|
495e10e408
|
Exclude empty Item#data objects in SVG export.
Closes #363.
|
2014-04-07 11:24:38 +02:00 |
|
Jürg Lehni
|
b8f1cfea9f
|
Support linked gradients.
Closes #441.
|
2014-04-07 01:18:17 +02:00 |
|
Jürg Lehni
|
f002c633a7
|
Remove trailing white spaces and ensure newlines at the end.
|
2014-04-06 13:48:03 +02:00 |
|
Jürg Lehni
|
e998083156
|
Rename Shape#shape to Shape#type.
|
2014-03-18 12:47:54 +01:00 |
|
Jürg Lehni
|
833d71f7ea
|
Remove Item#type and replace it with Item#className, the non-hyphenated version of #type.
|
2014-03-18 11:42:38 +01:00 |
|
Jürg Lehni
|
0aa73d90c5
|
Change the way context dependent font sizes are handled by delegating handling to view.
Closes #425
|
2014-03-17 16:41:57 +01:00 |
|
Jürg Lehni
|
d622d648c1
|
Merge branch 'refs/heads/master' into apply-matrix
|
2014-03-13 01:19:52 +01:00 |
|
Jürg Lehni
|
4e20a5594e
|
Fix failing test.
|
2014-03-13 01:15:36 +01:00 |
|
Jürg Lehni
|
d58f24157e
|
Merge branch 'refs/heads/master' into apply-matrix
|
2014-03-13 01:05:09 +01:00 |
|
Jürg Lehni
|
0bca1656ac
|
Avoid CompoundPath#reduce() in SVG path import by improving regular expression that identifies the need for CompoundPath.
|
2014-03-13 01:01:26 +01:00 |
|
Jürg Lehni
|
3c257dcae0
|
Merge branch 'refs/heads/master' into apply-matrix
|
2014-03-13 00:54:05 +01:00 |
|
Jürg Lehni
|
afcabea1a7
|
Fix issue with Z in the middle of SVG path data, not followed by a M command.
Closes #413.
|
2014-03-12 23:24:09 +01:00 |
|
Jürg Lehni
|
80a725d08a
|
Rename Item#transformContent to the more correct Item#applyMatrix
|
2014-03-02 16:04:17 +01:00 |
|
Jürg Lehni
|
ac2161c6d9
|
Fix importPoly() on Node.js
Closes #390
|
2014-03-02 01:02:33 +01:00 |
|
Jürg Lehni
|
2010fefcbe
|
Include importSVG() fix for Opera browser.
|
2014-02-12 09:47:43 +01:00 |
|
Jürg Lehni
|
e22fa3a664
|
Update copyright notice.
|
2014-01-04 01:47:16 +01:00 |
|
Jürg Lehni
|
541ac6acce
|
Shorten code a bit.
|
2014-01-02 21:47:20 +01:00 |
|
Jürg Lehni
|
3cd141170a
|
Implement Style#fontFamily and #fontWeight as a replacement for #font.
Closes #60.
|
2013-12-08 21:12:51 +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
|
43e0ac5124
|
Add missing break statement.
|
2013-12-07 05:27:23 +01:00 |
|
Jürg Lehni
|
f62e4d43ba
|
Implement Matrix#skew() calls for SVG skewX / skewY correctly.
|
2013-12-07 05:26:12 +01:00 |
|
Jürg Lehni
|
e12ab846bd
|
Fix decomposed transformation sequence.
|
2013-12-07 05:23:39 +01:00 |
|
Jürg Lehni
|
4b5b62cfef
|
Use new Matrix#skew() in SVGImport.
|
2013-12-07 05:22:14 +01:00 |
|
Jürg Lehni
|
3a10974612
|
Correctly apply matrices to Raster items in #importSVG()
Closes #337.
|
2013-11-29 23:06:04 +01:00 |
|
Jürg Lehni
|
0440adb575
|
Support passing DOM element IDs in calls to #importSVG()
|
2013-11-29 23:04:05 +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
|
893f8fb2cc
|
Fix issues with importing full SVG documents where default styles would not be detected.
|
2013-11-03 13:20:51 +01:00 |
|
Jürg Lehni
|
4320ef76ff
|
Merge #document handling code into importGroup()
|
2013-11-03 12:36:43 +01:00 |
|
Jürg Lehni
|
7430c3f159
|
Fix #document importing for all browsers.
Safari doesn't know document.children...
|
2013-11-03 12:30:49 +01:00 |
|
Jürg Lehni
|
c5262e02bd
|
Make importing SVG documents work for documents with doctypes and comments in the beginning.
|
2013-11-03 12:23:20 +01:00 |
|
Jürg Lehni
|
1637a31ad7
|
Allow #importSVG() to import from File objects too.
|
2013-11-03 12:10:19 +01:00 |
|
Jürg Lehni
|
20253e58a7
|
Avoid multiple onLoad calls when remote SVG cannot be loaded.
|
2013-11-03 00:00:46 +01:00 |
|
Jürg Lehni
|
af1c6830e0
|
Small variable name change.
|
2013-11-02 21:26:32 +01:00 |
|
Jürg Lehni
|
056dcceacc
|
Implement #importSVG() from external URL.
|
2013-11-02 21:17:11 +01:00 |
|
Jürg Lehni
|
c99d13178b
|
Consider a Point or Size null if one of the components is null.
|
2013-11-01 19:25:41 +01:00 |
|
Jürg Lehni
|
4b97d3a6e0
|
Make sure that the default SVG settings are not lost on import.
|
2013-11-01 19:00:37 +01:00 |
|
Jürg Lehni
|
9b75362f3e
|
Always respect options.asString
|
2013-11-01 18:27:20 +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
|
71a7781bdd
|
Fix comment.
|
2013-10-30 01:27:07 +01:00 |
|
Jürg Lehni
|
cabe253dea
|
Remove unused argument.
|
2013-10-30 01:26:05 +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
|
dec7efc939
|
Remove unused variable center.
|
2013-10-29 22:02:29 +01:00 |
|
Jürg Lehni
|
6335393541
|
Remove unused function argument.
|
2013-10-29 22:01:49 +01:00 |
|
Jürg Lehni
|
c765e26a08
|
Implement SVGImport options support.
For now only options.expandShapes, which expands Shape items to Path items.
|
2013-10-29 16:47:02 +01:00 |
|
Jürg Lehni
|
77b142bec4
|
Allow the SVGExport code to assume that the option object is always defined.
|
2013-10-29 16:41:16 +01:00 |
|
Jürg Lehni
|
922f224cbd
|
Finally remove the _gradientMatrix hack.
|
2013-10-16 23:47:21 +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
|
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 |
|