Commit graph

1799 commits

Author SHA1 Message Date
Jürg Lehni
d27ff7803c Fix Path#arcTo() tests. 2011-06-14 13:09:06 +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
5a601f39a4 Fix tests for Point#getDirectedAngle(point). 2011-06-14 12:44:56 +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
e69395ced0 Add failing test. 2011-06-14 12:19:54 +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
570fa4fbeb Update JsDoc. 2011-06-13 23:51:26 +01:00
Jürg Lehni
c4d0d80f3b Only build paper.js library for docs, not for server templates. 2011-06-13 23:50:43 +01:00
Jürg Lehni
fbf7016e7c Update JsDoc. 2011-06-13 19:32:20 +01:00
Jürg Lehni
fc6b3cd4d5 Merge remote-tracking branch 'origin/master' 2011-06-13 19:09:47 +01:00
Jürg Lehni
a3d1875971 More clean ups. 2011-06-13 19:09:10 +01:00
Jonathan Puckey
8979537f14 Merge remote branch 'origin/master' 2011-06-13 20:08:30 +02:00
Jonathan Puckey
71c5902112 Path tests: Change expected values in failing test, as the tested behaviour is correct. 2011-06-13 20:08:09 +02: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
12179ac35c Update JsDoc Toolkit. 2011-06-13 15:55:06 +01:00
Jürg Lehni
cea60c1ad2 Add comments. 2011-06-12 23:09:41 +01:00
Jürg Lehni
a7f00398a3 Add jsdoc-toolkit as submodule. 2011-06-12 23:09:09 +01:00
Jürg Lehni
4f57dd5702 Remove embedded jsdoc-toolkit, so it can be added as submodule. 2011-06-12 23:08:05 +01:00
Jürg Lehni
0ebdc2a719 Also include prebuilt docs for now. 2011-06-12 19:04:25 +01:00
Jürg Lehni
fee977e2eb Include a prebuilt version of the library in the dist folder for now, so examples work straight away. 2011-06-12 19:04:14 +01:00
Jürg Lehni
4d12cb87fc Switch from "out" folder for built library to "dist". 2011-06-12 19:03:18 +01:00
Jürg Lehni
b466ac809e Provide a shell script that generates a version of out/paper.js that uses load.js to directly load the library through the seperate source files in the src directory, as required development of the library itself. 2011-06-12 18:55:29 +01:00
Jürg Lehni
4a23e35eee Merge remote-tracking branch 'origin/master' 2011-06-12 18:42:24 +01:00
Jürg Lehni
5e4192198b Change all examples to load the latest compiled library from out/paper.js. 2011-06-12 18:42:12 +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
ff55be6efc Merge remote branch 'origin/master' 2011-06-10 13:36:59 +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