Commit graph

3317 commits

Author SHA1 Message Date
Jonathan Puckey
b1359bde3d Update my email address in the authors file. 2013-03-02 21:17:49 +01:00
Jonathan Puckey
0c125149e1 Move Tadpoles example to Paperjs.org folder. 2013-03-02 21:14:28 +01:00
Jonathan Puckey
59a2203764 Fix title of Nyan Rainbow example. 2013-03-02 21:13:45 +01:00
Jonathan Puckey
ae34f07c3a Fix Nyan Rainbow and update a few things to use the new notation. 2013-03-02 21:12:20 +01:00
Jonathan Puckey
9260717bb8 Examples: move Smoothing example to Paperjs.org folder. 2013-03-02 20:59:27 +01:00
Jonathan Puckey
3db61a3509 Examples: Move improved and simplified version of Bouncing Balls to Paperjs.org folder. 2013-03-02 20:58:56 +01:00
Jonathan Puckey
a3880bab5e Examples: add Voronoi, Q*bertify and Nyan Rainbow to Paperjs.org folder. 2013-03-02 20:58:09 +01:00
Jonathan Puckey
d13f1b88d6 Add interactive tiger example, which shows off item handlers and svg importing. 2013-03-02 20:57:09 +01:00
Jonathan Puckey
b124d23078 Move examples which are featured on paperjs.org website to Paperjs.org folder. 2013-03-02 20:54:52 +01:00
Jonathan Puckey
1346b7d4c0 Lines example: use new notation for creating paths. 2013-03-02 20:51:44 +01:00
Jonathan Puckey
4a7972ce0c Merge branch 'master' of https://github.com/paperjs/paper.js 2013-03-02 18:36:30 +01:00
Jonathan Puckey
e7475d5980 Update Chain example. 2013-03-02 18:35:10 +01:00
Jürg Lehni
1bfafee0ca Use a default precision of three digits for exporting path data. 2013-03-02 08:14:17 -08:00
Jürg Lehni
ae14cedc7f Remove SVG constants, as we don't use them anymore. 2013-03-02 08:11:47 -08:00
Jonathan Puckey
8ab70fd0de Update Arcs example. 2013-03-02 17:05:56 +01:00
Jonathan Puckey
2b4a1a7dc4 Update SpiralRaster example. 2013-03-02 16:42:26 +01:00
Jonathan Puckey
676a207871 Update Tadpoles example to use Project#importJson. 2013-03-02 16:06:31 +01:00
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
0599aabdb9 Handle reinsertion of items into the same children list.
Fixes failing test.
2013-03-01 23:06:29 -08:00
Jürg Lehni
881f624575 Add failing test when inserting multiple children into the same parent. 2013-03-01 22:41:58 -08:00
Jürg Lehni
67b1a602c4 Fix hit-testing of open filled Paths when they are part of a CompoundPath. 2013-03-01 21:47:13 -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
936b1bccbb Get curves uncached in CurveLocation#split() and #divide(). 2013-03-01 20:26:03 -08:00
Jürg Lehni
4be5d5086f Introduce project.option.hitTolerance, to control precision of internal hit-tests. 2013-03-01 20:25:46 -08:00
Jürg Lehni
03521796ef Setting Path#selected to false should deselect all handles too. 2013-03-01 20:25:09 -08:00
Jürg Lehni
dfe1a7efab Define setter for Segment#linear. 2013-03-01 20:24:46 -08:00
Jürg Lehni
5140e8f003 Minor changes on documentation. 2013-03-01 20:24:26 -08:00
Jürg Lehni
2230c2888d Fix issue with Curve#divide() where the wrong curve reference is returned. 2013-03-01 20:19:44 -08:00
Jürg Lehni
532176ac62 Fix drawing of selected handles. 2013-03-01 18:32:55 -08:00
Jürg Lehni
c543704115 Define Project#options as a way to configure things.
For now, only options.handleSize is in use.
2013-03-01 18:28:22 -08:00
Jürg Lehni
bd6e091dda Increase version from 0.3 to 0.8 to highlight the fact *a lot* of work has happened in the meantime. 2013-03-01 17:49:19 -08:00
Jürg Lehni
f0593c1fb9 Fix error with #getPathData() and empty paths. 2013-03-01 17:46:55 -08: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
3f5d0a6925 Merge constructor._name with _type and use CamelCase for Item types. 2013-03-01 17:13:22 -08:00
Jürg Lehni
293294a55a Have #_getCachedBounds() return clones of cached items again.
Fixes issue with Tadpoles example.
2013-03-01 16:05:11 -08:00
Jürg Lehni
cd58162dd5 No need to clone _matrix, since _clone() does that for us. 2013-03-01 15:55:19 -08:00
Jürg Lehni
1cd4d278fc Fix issue with path clipping. 2013-03-01 15:30:57 -08:00
Jürg Lehni
5bbbaef618 Include clipMask in serialization. 2013-03-01 15:30:45 -08:00
Jürg Lehni
5527ab1da8 Support point translations for normals defs in SvgImport. 2013-03-01 14:52:20 -08:00
Jürg Lehni
7553712e35 Simplify code for readRectangle() in Path.Constructors. 2013-03-01 14:39:26 -08:00
Jürg Lehni
3f85dcdb77 Use #_set() in Rectangle#initialize() to simplify code and increase flexibility. 2013-03-01 14:37:27 -08:00
Jürg Lehni
8d2c2f5fda Fix an issue with PathFitter where path with only one segment would throw an error.
Closes #175.
2013-03-01 14:28:32 -08:00
Jürg Lehni
b79e32194c Fix issue with SVG tests.
Should really look closer at what's going on there.
2013-03-01 14:17:31 -08:00
Jürg Lehni
7405858f32 Simplify code for reading of named arguments, removing the need for filtering arguments by using 'in' checks instead for the presence of properties / setters. 2013-03-01 14:06:04 -08:00
Jürg Lehni
06e33ba412 Improve flexibility of reading rectangles in Path.Constructor.
We can now define the rectangle by any property that it has setters for.
2013-03-01 13:52:11 -08:00
Jürg Lehni
b9c58d1732 Fix issue with text positioning.
HTML ignores white space before / after content.
2013-03-01 13:29:48 -08:00
Jürg Lehni
a38809d3e3 Handle viewBox correctly for normal nodes again. 2013-03-01 13:10:05 -08:00
Jürg Lehni
835ca80eff SVG nodeNames are case sensitive. 2013-03-01 12:59:43 -08:00