Jonathan Puckey
945a7220ee
Update Animated Star example.
2013-03-02 16:02:29 +01:00
Jonathan Puckey
2eafb73912
Update extruded example to use Project#importJson.
2013-03-02 15:58:38 +01:00
Jürg Lehni
5afa1b1688
Allow direct passing of color arguments to gradient constructors as well as arrays.
2013-03-01 17:44:16 -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
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
cef30f9dd1
Switch to #pathData for JSON serialization of Path and CompoundPath.
2013-02-28 19:41:13 -08:00
Jürg Lehni
5fbc6e939d
Fix small SVG path-data parser issue.
2013-02-28 19:33:08 -08:00
Jürg Lehni
980b772cea
Add Polybezier SVG example.
2013-02-28 19:14:06 -08:00
Jürg Lehni
21ee2edb60
Fix SVG example sizes.
2013-02-25 23:49:56 -08:00
Jürg Lehni
65a9795a8a
Rename #from/#toJson() to #import/#exportJson() and move them to Project / Item.
...
To reflect naming of #import/#exportSvg().
2013-02-25 16:17:33 -08:00
Jürg Lehni
779d076f02
Merge pull request #155 from ubershmekel/patch-1
...
Fixed memory leak
2013-02-14 12:47: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
42274bff4c
Clean up examples HTML.
2013-02-12 15:08:48 -08:00
Jürg Lehni
8b4dda2fc9
Use JSON format to implement example that exports Tiger to SVG.
2013-02-12 15:01:35 -08:00
Jürg Lehni
e477c49d1e
Add a couple of JSON examples.
...
For now just the old SVG ones ported over, but we do need better ones.
2013-02-11 19:23:21 -08:00
Jürg Lehni
e0d0eb175a
Implement exporting of Gradients to SVG.
2013-02-10 19:38:35 -08:00
Jürg Lehni
09e5cc2bda
Improve HTML in SVG Exporting examples.
2013-02-10 18:45:50 -08:00
Jürg Lehni
f06701055d
Implement exporting of Symbols to SVG.
2013-02-10 10:23:49 -08:00
Jürg Lehni
0f846098c4
Support CompoundPath in SvgExport.
2013-02-09 13:38:22 -08:00
Jürg Lehni
15c8652747
Add support for Raster to SvgExport.
2013-02-09 09:44:25 -08:00
Jürg Lehni
1a438b8b9b
Change Curve#[getPoint / getTangent / getNormal](t) to #[getPoint / getTangent / getNormal](offset, isParamter).
...
Keep deprecated versions around for now.
2013-01-28 16:30:28 -08:00
Yuval Greenfield
27781d44ac
Fixed memory leak
...
The original technique isn't horrible when it happens
once per mouse move but if used once per frame it completely
destroys the browser.
To see the leak in the chrome task manager - furiously move the
mouse and see the top cpu process keep rising in memory usage.
2012-12-31 23:46:53 +02:00
Jürg Lehni
b54bdadaff
Rename Item#transformContent to #applyMatrix.
2012-12-24 17:39:24 +01:00
Jürg Lehni
89b8864b13
Fix PhyllotaxisRaster example.
2012-12-24 01:13:18 +01:00
Jürg Lehni
b7d2dfb1db
Add two more SvgExport examples.
2012-12-15 17:37:28 +01:00
Jürg Lehni
589d4e6e73
Handle exporting of empty paths.
2012-12-09 18:04:56 -08:00
Jonathan Puckey
1fd3d727d2
Fix Bouncing Balls example.
2012-11-22 21:08:17 +01:00
Jonathan Puckey
3bf473924a
Remove Scripts/Fitting.
...
Scripts/Resize demonstrates the same functionality.
2012-11-22 21:01:26 +01:00
Jonathan Puckey
e1bb0a23e7
Fix RadialRainbows example.
...
The example stopped working, because we were changing values on another gradient colour object than the one used by the path: the color is cloned when passed to path.fillColor
2012-11-22 20:59:09 +01:00
Jonathan Puckey
d12c680be6
Fix bug in Tadpoles example.
...
Fixes a bug where the segments array of a path was being changed directly, which caused the bounds to not be updated.
2012-11-22 20:59:08 +01:00
Jürg Lehni
373474d088
Implement loading Rasters from external sources and notify using a 'load' callback.
2012-11-21 10:39:26 -08:00
Jürg Lehni
b334c95266
User Palette#reset() button in example.
2012-11-14 10:57:04 -08:00
Jürg Lehni
550d43ae0b
Check in first version of Scriptographer-style Palette / Component GUI code, including a basic example.
...
It kinda works already!
2012-11-14 01:35:34 -08:00
Jürg Lehni
a676d3d5c6
Revert Multiple Paths Test 1 example which I believe got accidentally modified.
2012-11-10 15:50:02 -08:00
Jonathan Puckey
661afca98f
Svg Importer: getValue: make sure the attribute exists first.
2012-11-10 15:45:11 +01:00
Jonathan Puckey
71d3cca2d8
SVG Importer: support percentage values for gradient stop offset.
2012-11-08 15:55:24 +01:00
Jonathan Puckey
328763ef90
Fix titles of SVG Import examples.
2012-11-08 15:25:26 +01:00
Jonathan Puckey
fac9b3a0e9
SVG Importer Gradients example: Use percentages in stops of first gradient.
2012-11-08 14:52:01 +01:00
Jonathan Puckey
6bbc78eaef
SVG Importer: initial support for gradients and gradient examples.
2012-11-07 19:32:35 +01:00
Jürg Lehni
6347c338ad
Remove .DS_Store files.
2012-11-07 09:36:57 -08:00
Jonathan Puckey
c704d285f2
SVG Importer: Use importGroup to import defs.
2012-11-07 17:21:02 +01:00
Jonathan Puckey
eb22e3bf95
Add Tiger SVG Import example.
2012-11-07 17:19:42 +01:00
Jürg Lehni
e9a9066d7f
Use group creation without explicit array declaration, as that's been supported all along.
2012-11-06 20:37:50 -08:00
Jürg Lehni
e0fa8e00b1
Fix example title.
2012-11-06 20:14:40 -08:00
Jürg Lehni
c505b53de7
Make clipping example work with new exporter functions.
2012-11-06 13:47:29 -08:00
Jonathan Puckey
71ed477bc4
Add example of importing of clipped svg paths, compound paths and groups.
2012-11-06 22:19:49 +01:00
Jürg Lehni
88e6ac09d7
Add methods to Item and Project to directly use SvgImporter / Exporter functionality.
2012-11-06 12:49:12 -08:00
Jürg Lehni
28642bd1c8
Rename Path.Oval() to Path.Ellipse(), and deprecate Path.Oval().
2012-11-06 11:37:00 -08:00
Jürg Lehni
eb0fb99b12
SvgExporter: Fix matrix conversion to rotate() command.
2012-11-06 11:06:53 -08:00