Commit graph

1360 commits

Author SHA1 Message Date
Jürg Lehni
c4b3d1c82a Define default value for Item#_selected and copy it over when item is cloned. 2011-06-14 15:35:39 +01:00
Jürg Lehni
2679d6eb9e Clean up Item#selected code. 2011-06-14 13:31:03 +01:00
Jürg Lehni
ad78474ae4 Remove obsolete TODO. 2011-06-14 12:46:15 +01:00
Jürg Lehni
50bc64779f Handle special case of infinitely big circle in Path#arcTo(), by cheating using an approximation of a really big circle. 2011-06-14 12:45:37 +01:00
Jürg Lehni
c85ddf2abe Fix a porting error in Line#getSide(). 2011-06-14 12:27:37 +01:00
Jürg Lehni
44670ebdd9 Merge remote-tracking branch 'origin/master' 2011-06-14 12:19:25 +01:00
Jürg Lehni
2be18b8013 Completely rewrite Path#arcTo() using Point class and vector geometry methods. 2011-06-14 12:19:14 +01:00
Jonathan Puckey
b55bb1b942 Merge branch 'master' of github.com:scriptographer/paper.js 2011-06-14 12:24:34 +02:00
Jonathan Puckey
41feaebb4e Fix Group clipping and ignore Item#clipMask in the documentation for now. 2011-06-14 12:15:46 +02:00
Jürg Lehni
0cda1aa9dd Fix Point#getDirectedAngle, which was measured the wrong way round, and could be optimised using Math.atan2(). 2011-06-14 11:14:26 +01:00
Jürg Lehni
8d0bb3d2ae Path#arcTo(): Fix wrong constant names. 2011-06-14 09:32:53 +01:00
Jürg Lehni
b4a210e113 Path#arcTo(): Fix the case where through point lies on a line between from and to point. 2011-06-14 09:12:18 +01:00
Jürg Lehni
f0c22bc1dc Shorten pre-calculations in Path#arcTo(). 2011-06-14 09:00:55 +01:00
Jürg Lehni
f6b2672f08 Simplify Path#arcTo() arguments check. 2011-06-14 09:00:25 +01:00
Jürg Lehni
bac579d85b Use a different strategy to determine canvas size for invisible canvases. 2011-06-14 00:20:58 +01:00
Jürg Lehni
eec7209a5c Define DomElement.isInvisible(), to check if the given element is not displaying. 2011-06-14 00:20:27 +01:00
Jürg Lehni
a3d1875971 More clean ups. 2011-06-13 19:09:10 +01:00
Jürg Lehni
de739b42a8 Clean up white spaces. 2011-06-13 19:05:17 +01:00
Jürg Lehni
064f17eaec Fix default value for end in Path#removeSegments(), so the last segment gets removed too. 2011-06-13 19:00:39 +01:00
Jonathan Puckey
e23ac6809b Color docs: add class introduction and examples. 2011-06-13 17:13:23 +02:00
Jonathan Puckey
2e6101a9b3 Rectangle: add code examples. 2011-06-13 17:13:07 +02:00
Jonathan Puckey
10de921a83 Docs: Use classexample tags in Point, Size and Rectangle. 2011-06-13 17:12:23 +02:00
Jürg Lehni
4a23e35eee Merge remote-tracking branch 'origin/master' 2011-06-12 18:42:24 +01:00
Jürg Lehni
c341ec220a Fix white space. 2011-06-12 18:40:30 +01:00
Jürg Lehni
065777291e Fix filtering of duplace points in path fitting code. 2011-06-12 18:40:24 +01:00
Jonathan Puckey
d2c031aa4e Documentation: improve View#onFrame example. 2011-06-10 14:21:27 +02:00
Jonathan Puckey
9b1812f7d8 Documentation: fix type of View#bounds. 2011-06-10 14:13:55 +02:00
Jonathan Puckey
68193d8a98 Documentation: Add examples to RGBColor / GrayColor / HSBColor constructors. 2011-06-10 14:12:33 +02:00
Jonathan Puckey
a48a8d7a8d Document TextItem#content. 2011-06-10 14:05:58 +02:00
Jonathan Puckey
7591ccf285 Improve Project#currentStyle documentation. 2011-06-10 13:44:30 +02:00
Jonathan Puckey
94fa73bf2f Documentation: improve wording in Item#clone() example. 2011-06-10 13:34:58 +02:00
Jonathan Puckey
344034cb62 Documentation: clean up Item#blendMode types. 2011-06-10 13:34:20 +02:00
Jonathan Puckey
20fc389020 Documentation: add see tag to Path#closePath(). 2011-06-10 13:33:14 +02:00
Jonathan Puckey
87c1b564d2 Document Path#lineBy(vector). 2011-06-10 13:32:37 +02:00
Jonathan Puckey
ac703f1baa Path: add example of pointToCurves(). 2011-06-10 00:07:25 +02:00
Jonathan Puckey
1bca7f4795 Adjust GradientColor example. 2011-06-09 23:27:11 +02:00
Jonathan Puckey
d688faf805 Merge remote branch 'origin/master' 2011-06-09 23:21:21 +02:00
Jonathan Puckey
a880396d26 Add example code to GradientColor & GradientStop. 2011-06-09 23:21:06 +02:00
Jürg Lehni
0567d0a5f9 Documentation: Fix typo. 2011-06-08 18:47:34 +01:00
Jürg Lehni
928b7df01e Fix typo introduced in previous refactoring. 2011-06-06 17:18:22 +01:00
Jürg Lehni
d5e7ca9f5e Improve explanatory comments. 2011-06-06 11:44:15 +01:00
Jürg Lehni
046f9cef6e Add comments. 2011-06-05 23:14:36 +01:00
Jürg Lehni
2fe21586df Further simplifications of path fitter code. 2011-06-05 23:14:28 +01:00
Jürg Lehni
3a4af3f854 Rename variables forgotten in previous refactoring. 2011-06-05 23:13:45 +01:00
Jürg Lehni
b035077d31 Simplify code. 2011-06-05 23:00:33 +01:00
Jürg Lehni
9e25047b91 Further clean ups. 2011-06-05 22:09:19 +01:00
Jürg Lehni
68eb14c00d Clean up code. 2011-06-05 22:06:24 +01:00
Jürg Lehni
10e1417dc2 Check for denominator == 0 with tolerance. 2011-06-05 21:59:42 +01:00
Jürg Lehni
0366752a6f Merge remote-tracking branch 'origin/master' 2011-06-05 21:56:17 +01:00
Jürg Lehni
73a188742e Fix bug in singularity check. 2011-06-05 21:56:04 +01:00