Jürg Lehni
|
adc5b86d2e
|
SVGExport: Remove unnecessary calls to Point#transform() in exportGradient()
|
2016-02-10 15:34:22 +01:00 |
|
Jürg Lehni
|
fc4bdf4bd0
|
Use correct SVG namespace again.
It got mixed up in recent refactoring (d68239a541 ).
|
2016-02-03 18:39:00 +01:00 |
|
Jürg Lehni
|
1c4ff31e6c
|
SVG: Some renaming omitted in previous commit.
|
2016-02-01 12:52:50 +01:00 |
|
Jürg Lehni
|
af5984747f
|
SVG: Rename 'SVG' prefix to 'Svg'
- To make it clear it's not browser-provided functionality
- To reflect how DomElement / DomEvent are already named, for the same reason
|
2016-02-01 12:50:22 +01:00 |
|
Jürg Lehni
|
96d9b6730f
|
Rename Svg acronyms in API to SVG.
|
2013-04-23 07:19:08 -07:00 |
|
Jürg Lehni
|
e1807214f4
|
Large refactoring of Style handling for notable speed improvements.
|
2013-04-19 19:31:29 -07:00 |
|
Jürg Lehni
|
bf9acd4499
|
Correct Numerical.KAPPA value.
|
2013-04-19 18:57:31 -07:00 |
|
Jürg Lehni
|
90f2614d52
|
Export Numerical object and move KAPPA constant there.
|
2013-04-19 17:03:41 -07:00 |
|
Jürg Lehni
|
e9aad895ae
|
Import and export Item#data in SVG as well.
Closes #188.
|
2013-04-09 17:53:26 -07:00 |
|
Jürg Lehni
|
fbe8a558bd
|
Refactor Format literal to Formatter class that keeps precision stored.
|
2013-04-09 17:32:19 -07:00 |
|
Jürg Lehni
|
b9532f6a1a
|
Rename Color#hilite -> Color#highlight.
|
2013-04-09 08:51:14 -07:00 |
|
Jürg Lehni
|
5209e97c8d
|
Merge GradientColor into Color.
Work in progress.
|
2013-04-09 01:21:36 -07:00 |
|
Jürg Lehni
|
9cdc4b9372
|
Switch back to only one Gradient constructor for both linear and radial Gradients.
|
2013-04-08 20:52:21 -07:00 |
|
Jürg Lehni
|
4bc3882c82
|
Do not access internal _alpha property.
|
2013-04-06 18:14:45 +02:00 |
|
Jürg Lehni
|
18ed9010a6
|
Derive Item#type from Item#_class and use that instead in code that depends on Item types.
|
2013-04-06 18:07:30 +02:00 |
|
Jürg Lehni
|
f43b322d2a
|
Rename Base#_type property to #_class.
|
2013-04-06 09:16:08 +02:00 |
|
Jürg Lehni
|
8a69fcd1e5
|
Actually use precision setting in Path#getPathData().
|
2013-03-03 16:51:31 -08:00 |
|
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 |
|