Jürg Lehni
|
2e25dc82c6
|
Ignore .DS_Store files.
|
2012-11-07 09:37:55 -08:00 |
|
Jürg Lehni
|
6347c338ad
|
Remove .DS_Store files.
|
2012-11-07 09:36:57 -08:00 |
|
Jonathan Puckey
|
b7486a7e4d
|
SvgImport: Fix typo.
|
2012-11-07 17:28:09 +01:00 |
|
Jonathan Puckey
|
9e00a6282f
|
SVG Importer: Add support for 'use' element.
|
2012-11-07 17:21:35 +01: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
|
d5a9a48db3
|
Also expose space bar state through Event#modifiers.
|
2012-11-07 01:02:48 -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
|
01342fa073
|
Implement onActivate() onDeactivate() handlers on Tool, and remove onSelect() / onDeselect() which never worked.
|
2012-11-07 01:02:09 -08: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
|
b1c24e2762
|
Improve importGroup() code a bit by directly filling an Item instead of an array first.
|
2012-11-06 20:28:20 -08:00 |
|
Jürg Lehni
|
1cb6a7fc3c
|
Clean up Path#smooth() code a bit.
|
2012-11-06 20:18:59 -08:00 |
|
Jürg Lehni
|
e0fa8e00b1
|
Fix example title.
|
2012-11-06 20:14:40 -08:00 |
|
Jürg Lehni
|
f110038104
|
Improve clipping mask drawing, and remove some unneeded ctx.save() / ctx.restore() calls.
|
2012-11-06 20:14:21 -08:00 |
|
Jürg Lehni
|
1581d44c06
|
Have newly created group parent in applyAttribute() propagate back up.
|
2012-11-06 20:13:29 -08:00 |
|
Jürg Lehni
|
b6ca26092f
|
SvgImporter: Do not add defs to the DOM.
|
2012-11-06 20:12:25 -08:00 |
|
Jürg Lehni
|
6d69c86962
|
Unbox CompoundPaths first when adding to clipping CompoundPaths, as CompoundPaths cannot be nested.
|
2012-11-06 18:38:09 -08:00 |
|
Jürg Lehni
|
53a8099403
|
Avoid division with almost zero.
|
2012-11-06 14:02:07 -08:00 |
|
Jürg Lehni
|
4b6207bdb6
|
Do not allow adding of items other than paths to CompoundPath.
|
2012-11-06 14:01:52 -08:00 |
|
Jürg Lehni
|
c505b53de7
|
Make clipping example work with new exporter functions.
|
2012-11-06 13:47:29 -08:00 |
|
Jürg Lehni
|
4e1db6a1d1
|
Fix a row of documentation issues.
|
2012-11-06 13:35:50 -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
|
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 |
|
Jürg Lehni
|
b6c0f261ee
|
Fix paper.project access in tests.
|
2012-11-06 12:52:16 -08: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
|
c70948c762
|
Return the inserted item in #addChild() & co, instead of true / false.
|
2012-11-06 12:44:02 -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
|
e26197cf1f
|
Optimise loops.
|
2012-11-06 11:28:50 -08:00 |
|
Jürg Lehni
|
16de863aa5
|
SvgExporter: Some more work on determineAngle().
|
2012-11-06 11:26:00 -08:00 |
|
Jürg Lehni
|
4c463eb1f1
|
SvgExporter: Some more code shortening.
|
2012-11-06 11:19:54 -08:00 |
|
Jürg Lehni
|
cd924f066e
|
SvgImporter: Reverse parameter sequence.
|
2012-11-06 11:14:08 -08:00 |
|
Jürg Lehni
|
eb0fb99b12
|
SvgExporter: Fix matrix conversion to rotate() command.
|
2012-11-06 11:06:53 -08:00 |
|
Jürg Lehni
|
00f710b599
|
SvgExporter: Rearrange code sequence.
|
2012-11-06 11:00:58 -08:00 |
|
Jürg Lehni
|
b24ee0de66
|
Document isColinear() and isArc().
|
2012-11-06 10:55:53 -08:00 |
|
Jürg Lehni
|
7dc453b58b
|
No need to escape ) inside [] in regular expressions.
|
2012-11-06 10:52:03 -08:00 |
|
Jürg Lehni
|
19fe762e10
|
SvgImporter: Rename all attributes and styles related functions to use shorter names.
|
2012-11-06 10:49:34 -08:00 |
|
Jürg Lehni
|
e26b56f88e
|
SvgImporter: Further optimise style parsing.
|
2012-11-06 10:43:32 -08:00 |
|
Jürg Lehni
|
dd3a242ee1
|
SvgImporter: Improve 'none' style handling, and shorten code.
|
2012-11-06 10:37:03 -08:00 |
|
Jürg Lehni
|
7b32e611b7
|
Use SVG type to determine Group constructor, not a function factory.
|
2012-11-06 10:29:14 -08:00 |
|
Jürg Lehni
|
09e845cfd1
|
SvgImporter: Move importPath() to its own function and restructure importer sequence.
|
2012-11-06 10:28:34 -08:00 |
|
Jürg Lehni
|
fd8fe9c08e
|
Rename CompoundPath#simplify() to #flatten() to avoid clashes with Path#simplify(), and add Path#flatten(), returning itself.
|
2012-11-06 10:16:03 -08:00 |
|
Jürg Lehni
|
93447ee533
|
Add some transformations to Text exporting example.
|
2012-11-06 10:04:04 -08:00 |
|
Jürg Lehni
|
d9bfc2fa35
|
Implement Matrix support in SvgExporter.
|
2012-11-06 10:04:04 -08:00 |
|
Jürg Lehni
|
a6b8201cf4
|
Minor clean-ups.
|
2012-11-06 10:04:04 -08:00 |
|
Jonathan Puckey
|
d1eb09176f
|
SVGImporter: add support for clip-path.
|
2012-11-06 18:14:17 +01:00 |
|
Jonathan Puckey
|
9f3a0fc002
|
SVGImporter: fix importing of visibility attribute.
|
2012-11-06 18:12:55 +01:00 |
|
Jonathan Puckey
|
f825969570
|
SVGImporter: add comments linking to the SVG specification.
|
2012-11-06 18:11:54 +01:00 |
|
Jonathan Puckey
|
bda7c71fcb
|
Fix problem when calling new Group([]).
|
2012-11-06 18:07:51 +01:00 |
|
Jonathan Puckey
|
33c13b36a3
|
Fix drawing of groups where a compound path is used as a clip mask.
|
2012-11-06 18:07:51 +01:00 |
|