Jürg Lehni
|
bec61c6829
|
Implement Symbol clipping and handle positioning correctly.
Complicated stuff...
|
2013-03-01 11:19:47 -08:00 |
|
Jürg Lehni
|
2706c32924
|
Implement a way for applyAttribute() methods to query other attributes / styles.
|
2013-03-01 11:18:50 -08:00 |
|
Jürg Lehni
|
6571c28256
|
Fold applyAttribute() into applyAttributes().
|
2013-03-01 10:31:42 -08:00 |
|
Jürg Lehni
|
417cfde795
|
Simplify and clean up applyTextAttribute().
|
2013-03-01 10:27:19 -08:00 |
|
Jürg Lehni
|
afeb8cbe70
|
No need to expand CSS 'font' shorthand property, since we're now iterating all style properties.
|
2013-03-01 10:21:19 -08:00 |
|
Jürg Lehni
|
01026c0896
|
Fix support for viewBox when importing SVG symbols.
|
2013-03-01 10:08:17 -08:00 |
|
Jürg Lehni
|
9379b37d26
|
Remove accidentally checked in file.
|
2013-02-28 19:42:07 -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
|
1a37bb7252
|
Minor clean up.
|
2013-02-28 19:14:06 -08:00 |
|
Jürg Lehni
|
027c944d3e
|
Add missing parameters again to viewBox.
|
2013-02-28 19:14:06 -08:00 |
|
Jürg Lehni
|
f142a9d015
|
Optimize code a bit by changing parameter sequence.
|
2013-02-28 19:14:06 -08:00 |
|
Jürg Lehni
|
c29a7e38a0
|
Improve SvgImport to support styles that come from CSS style sheet rules.
|
2013-02-28 19:14:05 -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
|
8585556584
|
Use applyAttribute() lookup table in SvgImport instead of switch statement.
|
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
|
e392496f9d
|
Remove Base.toFloat() and replace with direct parseFloat() calls.
|
2013-02-28 19:14:05 -08:00 |
|
Jürg Lehni
|
c3b5035aed
|
Fix importing of SVG groups with styles applied to them.
Closes #149.
|
2013-02-14 21:42:50 -08:00 |
|
Jürg Lehni
|
741c0b7855
|
Fix error in parsing of empty SVG array attributes.
|
2013-02-14 21:09:44 -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
|
435341f30b
|
Fix name clash due to recent renaming.
|
2013-02-11 14:36:44 -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
|
16578e6b15
|
Clean up code.
|
2012-12-15 02:24:46 -08:00 |
|
Jürg Lehni
|
a690aa48c1
|
Inline applyTransform() code, since it's so little code now.
|
2012-12-15 02:22:25 -08:00 |
|
Jürg Lehni
|
a677e905bf
|
Simplify applyTransform() in SvgImport.
|
2012-12-15 02:21:03 -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
|
50f810a1ad
|
Remove onLoad workaround, and use #attach('load') instead of #onLoad internally.
|
2012-12-02 21:08:57 -08:00 |
|
Jürg Lehni
|
cdfd1f596a
|
Fix some comments.
|
2012-12-02 19:47:25 -08:00 |
|
Jonathan Puckey
|
9727874aa2
|
SVG Importer: implement initial support for importing of images.
|
2012-12-02 19:42:22 +01: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 |
|