Commit graph

533 commits

Author SHA1 Message Date
Jürg Lehni
e722be5b62 Add support for PDF canvas on Node.js again. 2016-01-27 09:34:37 +01:00
Jürg Lehni
b71ffdbe71 Remove all direct calls to view.update() and favor of the new view.requestUpdate()
Pure window.requestAnimationFrame() smoothness, automatic updates even when working directly from JavaScript, and no more slow-downs from onLoad events!

Closes #830, #925
2016-01-26 21:37:27 +01:00
Jürg Lehni
5e69de3bd1 Restructure event handling on Raster item.
- Trigger #onLoad() events from Raster#setImage() also
- Add support for Raster#onError() handler
Closes #849 and #924
2016-01-26 21:06:36 +01:00
Jürg Lehni
d33fff31b8 Always access "global" constructors on window object now. 2016-01-26 20:33:19 +01:00
Jürg Lehni
c479ec9272 Start with transition to unified version.
Relates to #739
2016-01-26 11:41:49 +01:00
Jürg Lehni
9f448a97ef Use the correct notation in the new smooth() calls. 2016-01-15 17:25:15 +01:00
Jürg Lehni
af799976d4 Explicitly use continuous smooth in a couple of examples. 2016-01-15 11:29:31 +01:00
Jürg Lehni
ec5e8ff51d Switch blendMode to 'lighter' in CandyCrash example.
Closes #453
2016-01-08 23:27:45 +01:00
Jürg Lehni
5060e83095 Remove selected state in Qbertify example. 2016-01-08 11:46:10 +01:00
Jürg Lehni
0e427c16a2 Fix some white-spaces in comments and HTML. 2015-12-30 21:55:20 +01:00
Jürg Lehni
386632b0be Implement new version of #reorient() and merge with #resolveCrossings()
As proposed by @iconexperience in #854
2015-12-30 21:55:17 +01:00
Jürg Lehni
aa3f527ca6 Minor code clean-up. 2015-10-05 17:35:54 +02:00
Jürg Lehni
18c5a06f45 Fix colors in animated boolean operations demo. 2015-09-18 23:00:47 +02:00
Jürg Lehni
5af391d333 Fix errors in Boolean Operations example. 2015-09-18 17:52:14 +02:00
Jürg Lehni
04452730dd Simplify CurveLocation data structures.
Directly creating and linking intersections simplifies things a lot.
2015-09-09 17:17:49 +02:00
Jürg Lehni
605ceef94c Fix deprecated getPoint / Normal / Tangent calls. 2015-08-22 14:24:57 +02:00
Jürg Lehni
4fde7ab37d Add applyMatrix option to importSVG() 2015-06-16 17:52:34 +02:00
Jürg Lehni
6ec34fbb60 Replace Lenna with Marilyn. 2015-05-31 10:50:04 +02:00
Jürg Lehni
27bb8a356f Implement unique ids, and fix issue with Base.deserialize()
Gradient and Symbol were overriding each other in the dictionary, and dictionary entries could not contain references to other dictionary entries.

Closes #690
2015-05-11 19:39:39 +02:00
Jürg Lehni
5df30c4a7a Clean up FutureSplash code a bit. 2015-03-07 11:05:57 +01:00
Jürg Lehni
c847dd2cc0 Merge pull request #600 from Patak123/patch-1
Update FutureSplash.html
2015-03-06 09:29:13 +01:00
Jürg Lehni
da53bfe5a0 Simplify boolean operations example code a bit. 2015-01-04 22:00:40 +01:00
Jürg Lehni
8ae8855b81 Visually center JSON tiger example. 2015-01-02 14:39:13 +01:00
Jürg Lehni
3c31c0e482 Have SVGImport respect the current PaperScope's applyMatrix setting. 2015-01-02 14:19:17 +01:00
Jürg Lehni
54d959df1f Load CSS in all examples. 2014-12-30 00:29:20 +01:00
Jürg Lehni
a07dc98046 Clean up and simplify code from pull request #580 and fix CSS in examples accordingly. 2014-12-30 00:16:51 +01:00
Patak123
abde29523a Update FutureSplash.html 2014-12-16 16:23:52 +01:00
Jürg Lehni
99ef521af4 Switch from inline @option tags to real doc tags. 2014-10-20 23:33:28 +02:00
Jürg Lehni
5006a0557f Remove calls to DomEvent as that's not exposed any longer. 2014-10-08 18:27:48 +02:00
Jürg Lehni
0d360a6c0c Remove Palette example. 2014-10-08 18:15:45 +02:00
Jürg Lehni
0d7fe5e5a0 Clear project before importing new SVG content. 2014-09-27 22:59:45 +02:00
Jürg Lehni
ead2e8e49b Clean up Node.js Raster example. 2014-09-27 22:09:43 +02:00
Jürg Lehni
35a02f3dd8 Switch to different mp3 location due to CORS issues. 2014-09-27 13:10:08 +02:00
Jürg Lehni
88c035eb95 Minor comment change. 2014-08-20 16:54:01 +02:00
Jürg Lehni
48cb05a181 Replace tabs with 4 white-spaces. 2014-08-16 19:24:54 +02:00
Jürg Lehni
2057a359c7 Change canvas size in SVG Gradient example. 2014-08-16 18:29:39 +02:00
Jürg Lehni
c9e7832728 Minor change in stroke scaling example for simple toggling. 2014-07-08 15:43:17 +02:00
Jürg Lehni
0060f629ae Simplify SVG export examples. 2014-05-14 13:34:36 +02:00
Jürg Lehni
846c806034 Implement non-scaling strokes through Style#strokeScaling.
Closes #418.
2014-05-13 13:38:51 +02:00
Jürg Lehni
f4fbf3549e Fix display: none; in Boolean Operations example. 2014-05-07 17:35:17 +01:00
Jürg Lehni
a775d1eca4 Fix SVG examples that make use of display: none; 2014-05-07 17:32:49 +01:00
Jürg Lehni
41c0d8f759 Implement onImport / onExport callbacks for SVG Import / export.
... and illustrate its functionality by importing Inkscape's transform-center attributes to pivots and exporting them again.
2014-05-05 20:48:30 +02:00
Jürg Lehni
07563fb694 BooleanOperations example: Make the ring using subtraction instead of creating a CompoundPath manually. 2014-04-29 20:50:55 +02:00
Jonathan Puckey
690514e2c9 More work on animated boolean operations example.
Allows for mouse interaction with shapes. Uses a ring shape instead of a circle to show of compound path intersections. Now performs path operations of both square on ring and ring on square.
2014-04-29 12:17:46 +02:00
Jonathan Puckey
083cd7a057 Add animated example of the different boolean path operations. 2014-04-28 20:23:45 +02:00
Jürg Lehni
8edcf3b219 Have IE9 display SVG inlined in SVG export examples. 2014-04-07 12:01:56 +02:00
Jürg Lehni
b8f1cfea9f Support linked gradients.
Closes #441.
2014-04-07 01:18:17 +02:00
Jürg Lehni
b34313833d Remove accidentally committed files. 2014-04-06 13:48:44 +02:00
Jürg Lehni
fe064e9cc3 Switch from dist/paper.js to dist/paper-full.js and explain the different versions in the README.
Closes #422.
2014-04-06 13:44:19 +02:00
Jonathan Puckey
e0b3361f01 Improve Tadpoles example.
Removed a bunch of unnecessary optimisations, added path smoothing again, use Item#rotation for rotating the heads.
2014-03-18 18:36:14 +01:00