Jürg Lehni
|
f1fe2575a8
|
Remove SVG clipPaths from DOM.
|
2013-03-01 12:54:27 -08:00 |
|
Jürg Lehni
|
0499dd06f4
|
Support default black fill when importing SVG.
|
2013-03-01 12:32:24 -08:00 |
|
Jürg Lehni
|
08fbf0f5b4
|
Fix Symbol clipping.
|
2013-03-01 12:14:21 -08:00 |
|
Jürg Lehni
|
1c8e3a5db1
|
Fix an error in applyTextAttribute() handling.
|
2013-03-01 12:09:01 -08:00 |
|
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
|
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
|
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
|
435341f30b
|
Fix name clash due to recent renaming.
|
2013-02-11 14:36:44 -08:00 |
|
Jürg Lehni
|
199fc046bf
|
Rename 'svg' variables to more meaningful 'node'.
|
2013-02-10 19:37:19 -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
|
b10454a83c
|
Rename Matrix#createInverse() to #inverted() and #createShiftless() to #shiftless().
|
2013-02-09 12:18:40 -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
|
86a1a17b8d
|
Fix matrix exporting for groups, which ignore x / y attributes for positioning.
|
2012-12-09 15:46:21 -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 |
|
Jonathan Puckey
|
9727874aa2
|
SVG Importer: implement initial support for importing of images.
|
2012-12-02 19:42:22 +01:00 |
|
Jonathan Puckey
|
d45a4ce8ad
|
SVG Import: inline variable value.
|
2012-11-28 21:40:48 +01:00 |
|
Jonathan Puckey
|
808073fa63
|
SVG Importer: add support for stroke-opacity and fill-opacity.
|
2012-11-28 20:50:27 +01:00 |
|
Jürg Lehni
|
61b6026361
|
Rename CompoundPath#flatten() to #reduce(), to avoid clash with Path#flatten().
|
2012-11-23 01:16:21 -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
|
92eb89fc43
|
Clean up and shorten code.
|
2012-11-10 15:48:15 -08:00 |
|
Jürg Lehni
|
af66bccb64
|
SvgImporter: Simplify creation of clip group.
No need to move group into place in DOM, since we're returning it instead of item.
|
2012-11-10 15:05:13 -08:00 |
|
Jürg Lehni
|
6475d61c89
|
SvgImporter: Fix issue with importText().
|
2012-11-10 11:30:34 -08:00 |
|
Jürg Lehni
|
9f6e43454a
|
Make sure items produced outside of importSvg() are inserted in the same place inside the DOM.
|
2012-11-10 11:28:00 -08:00 |
|
Jürg Lehni
|
dad30d15ec
|
Shorten code a bit.
|
2012-11-10 11:27:09 -08:00 |
|
Jürg Lehni
|
5489f7f496
|
Switch back to using allowNull for gradient highlight, now that it works.
|
2012-11-10 11:20:25 -08:00 |
|
Jürg Lehni
|
d929c3177c
|
SvgImporter: Streamline getValue() helper, and clean up some code depending on it.
|
2012-11-10 11:19:06 -08:00 |
|
Jonathan Puckey
|
116e782f33
|
Svg Importer: fix handling of highlight point of radial gradients.
|
2012-11-10 16:20:59 +01:00 |
|
Jonathan Puckey
|
a86340c088
|
Svg Importer: clone or place depending on the type
|
2012-11-10 16:05:47 +01:00 |
|
Jonathan Puckey
|
69b84616ed
|
Svg Importer: more work on symbols and viewboxes.
|
2012-11-10 15:56:56 +01:00 |
|
Jonathan Puckey
|
81799b9042
|
SvgImporter: cleanup getValue.
|
2012-11-10 15:56:12 +01:00 |
|
Jonathan Puckey
|
9adebea69c
|
SvgImporter: getValue: fall back to using getAttribute.
|
2012-11-10 15:55:09 +01:00 |
|
Jonathan Puckey
|
661afca98f
|
Svg Importer: getValue: make sure the attribute exists first.
|
2012-11-10 15:45:11 +01:00 |
|
Jonathan Puckey
|
30f63599f1
|
Merge branch 'master' of https://github.com/paperjs/paper.js
|
2012-11-10 11:20:07 +01:00 |
|