Jürg Lehni
|
a63e8ac54c
|
Avoid empty d attributes in SVG nodes, since they throw errors.
|
2013-03-01 21:29:45 -08:00 |
|
Jürg Lehni
|
58fad6ed72
|
Switch from Gradient#type to separate LinearGradient / RadialGradient classes.
But remain backward compatible through direct calls to Gradient constructor.
|
2013-03-01 17:39:36 -08:00 |
|
Jürg Lehni
|
3f5d0a6925
|
Merge constructor._name with _type and use CamelCase for Item types.
|
2013-03-01 17:13:22 -08:00 |
|
Jürg Lehni
|
835ca80eff
|
SVG nodeNames are case sensitive.
|
2013-03-01 12:59:43 -08:00 |
|
Jürg Lehni
|
78b3621cf6
|
Implement PathItem#pathData getter and setter for SVG style path data.
And use it fro SvgImport too.
|
2013-02-28 19:14:06 -08:00 |
|
Jürg Lehni
|
84f3f041e3
|
Further simplify SVG attribute / style handling by merging in SvgStyles.
|
2013-02-28 19:14:05 -08:00 |
|
Jürg Lehni
|
9d8cddbe42
|
Implement new private Format object that handles formatting of number, point, size and rectangle.
|
2013-02-28 19:14:05 -08:00 |
|
Jürg Lehni
|
66c491a8fd
|
Minor code clean up.
|
2013-02-12 17:23:56 -08:00 |
|
Jürg Lehni
|
7df4338ef5
|
Fix linear gradient orientation when shape substitution is applied.
|
2013-02-12 17:22:31 -08:00 |
|
Jürg Lehni
|
f554bdce2a
|
Fix issues with SVG gradient export.
|
2013-02-12 17:05:54 -08:00 |
|
Jürg Lehni
|
85d2700eb1
|
Implement namespaces for SVG properties in SvgExport.
|
2013-02-11 19:46:05 -08:00 |
|
Jürg Lehni
|
629e16144a
|
Define #_type property for both Symbol and Gradient and use it in SvgExport.
|
2013-02-11 18:23:41 -08:00 |
|
Jürg Lehni
|
efaae62799
|
Reuse attrs variable.
|
2013-02-10 19:40:44 -08:00 |
|
Jürg Lehni
|
20011d912a
|
Fix typo.
|
2013-02-10 19:40:15 -08:00 |
|
Jürg Lehni
|
e0d0eb175a
|
Implement exporting of Gradients to SVG.
|
2013-02-10 19:38:35 -08:00 |
|
Jürg Lehni
|
199fc046bf
|
Rename 'svg' variables to more meaningful 'node'.
|
2013-02-10 19:37:19 -08:00 |
|
Jürg Lehni
|
de4e928045
|
Clean up SvgExport code.
|
2013-02-10 19:02:53 -08:00 |
|
Jürg Lehni
|
f06701055d
|
Implement exporting of Symbols to SVG.
|
2013-02-10 10:23:49 -08:00 |
|
Jürg Lehni
|
49728665e6
|
Clear definitions lookup at the end of SVG import.
|
2013-02-09 13:59:04 -08:00 |
|
Jürg Lehni
|
0f846098c4
|
Support CompoundPath in SvgExport.
|
2013-02-09 13:38:22 -08:00 |
|
Jürg Lehni
|
b10454a83c
|
Rename Matrix#createInverse() to #inverted() and #createShiftless() to #shiftless().
|
2013-02-09 12:18:40 -08:00 |
|
Jürg Lehni
|
d70fdb69d3
|
Adapt to recent changes to Matrix#decompose() in SvgExport code.
|
2013-02-09 12:11:56 -08:00 |
|
Jürg Lehni
|
15c8652747
|
Add support for Raster to SvgExport.
|
2013-02-09 09:44:25 -08:00 |
|
Jürg Lehni
|
e438ac8223
|
Implement proper matrix decomposition and use it in SvgExport.
|
2013-02-08 23:02:20 -08:00 |
|
Jürg Lehni
|
75adbd0adc
|
Disable transformation detection for now, until issues with Matrix#getRotation() and Matrix#getScaling() are solved.
|
2013-02-08 14:36:49 -08:00 |
|
Jürg Lehni
|
6c9c16ad3d
|
Update copyright information comments, and year.
|
2013-01-28 18:03:27 -08:00 |
|
Jürg Lehni
|
d280d65f82
|
Fix issues with exporting SVG matrices when they can be resolved to simple rotate / scale / translate statements.
|
2012-12-15 02:20:37 -08:00 |
|
Jürg Lehni
|
589d4e6e73
|
Handle exporting of empty paths.
|
2012-12-09 18:04:56 -08:00 |
|
Jürg Lehni
|
c49a0c6ad4
|
Check if SVG nodes could be converted before adding them as children.
|
2012-12-09 16:53:52 -08:00 |
|
Jürg Lehni
|
86a1a17b8d
|
Fix matrix exporting for groups, which ignore x / y attributes for positioning.
|
2012-12-09 15:46:21 -08:00 |
|
Jürg Lehni
|
68dc7e8b12
|
Correctly fix SVG alpha support through opacity attributes.
|
2012-12-08 20:09:24 -08:00 |
|
Jürg Lehni
|
cdfd1f596a
|
Fix some comments.
|
2012-12-02 19:47:25 -08:00 |
|
Jürg Lehni
|
86d3a3521b
|
Avoid rgba() colors in SVG output since it's not part of SVG 1.1
Use fill- / stroke-opacity instead.
|
2012-12-01 12:44:54 -08:00 |
|
Jürg Lehni
|
f268c6e152
|
Rename Color#toCssString() to #toCss(), and only include alpha if its < 1.
|
2012-12-01 12:31:22 -08:00 |
|
Jürg Lehni
|
d671a08205
|
Introduce Base.toFloat() and rename Base.formatNumber() to Base.formatFloat()
|
2012-11-14 01:31:08 -08:00 |
|
Jürg Lehni
|
0e22430993
|
Only set opacity and visibility when they differ from the defaults.
|
2012-11-07 01:02:28 -08:00 |
|
Jürg Lehni
|
4e1db6a1d1
|
Fix a row of documentation issues.
|
2012-11-06 13:35:50 -08:00 |
|
Jürg Lehni
|
7a0752eb11
|
No need for private exportItem() / exportProject() functions.
|
2012-11-06 13:14:39 -08:00 |
|
Jürg Lehni
|
142bf28a70
|
Convert SvgExporter / SvgImporter code to function scopes that only expose functionality through methods on Item and Project.
|
2012-11-06 13:07:18 -08:00 |
|