Commit graph

1750 commits

Author SHA1 Message Date
Jürg Lehni
3a0f43050e Rename length to offset. 2011-06-05 11:34:40 +01:00
Jürg Lehni
ef10c2797c Add Curve#getPart but hide for now as more work is required. 2011-06-05 11:34:24 +01:00
Jürg Lehni
b5a0979f58 Access internal Curve coordinate properties directly rather than through beans. 2011-06-05 11:33:55 +01:00
Jürg Lehni
47085e44ca Fix drawing of closed paths that was broken in recent commit. 2011-06-05 11:20:28 +01:00
Jürg Lehni
6095723e70 Fix single equal compare. 2011-06-04 21:46:48 +01:00
Jürg Lehni
90be683113 Clean up and add more comments. 2011-06-04 19:25:50 +01:00
Jürg Lehni
263fa8cbd9 Add comments. 2011-06-04 18:35:00 +01:00
Jürg Lehni
fafb6d1d76 Convert CurveFlattener to PathFlattener, which can handle drawing of parts accross curve boundaries. 2011-06-04 18:25:41 +01:00
Jürg Lehni
e097ff1303 Include copyright notice and clean up. 2011-06-04 16:12:55 +01:00
Jürg Lehni
72ac909713 Include CurveFlattener.js in build. 2011-06-04 16:12:40 +01:00
Jürg Lehni
5fa43efb79 Merge remote-tracking branch 'origin/master' 2011-06-04 16:08:52 +01:00
Jürg Lehni
6c74ace1ed Implement dashed stroke support. Work in progress. 2011-06-04 16:08:40 +01:00
Jürg Lehni
e5290c3f47 More work on Path#draw(). 2011-06-04 15:28:06 +01:00
Jürg Lehni
45a04891ee Clean up. 2011-06-04 15:16:30 +01:00
Jürg Lehni
91886211b5 Simplify Path#draw() by defining a private drawSegment() that's used to close paths too. 2011-06-04 15:16:21 +01:00
Jürg Lehni
4cc3ef87cd Add View#canvas. 2011-06-04 15:15:35 +01:00
Jonathan Puckey
a96b272f7a Documentation edits. 2011-06-04 15:50:29 +02:00
Jürg Lehni
ce01d2cc59 Start implementing CurveFlattener, as required for dashing. 2011-06-04 12:40:58 +01:00
Jürg Lehni
bff3e14155 Implement a first crude version of Curve.isSufficientlyFlat() 2011-06-04 12:40:36 +01:00
Jürg Lehni
5581eefd0c Define default value of t = 0.5 in Curve.subdivide(). 2011-06-04 12:40:07 +01:00
Jonathan Puckey
5e05f38df0 Path docs: add return tag for #getLocationAt. 2011-06-03 23:06:05 +02:00
Jonathan Puckey
d77e9cfb4f Path docs: add Positions on Paths and Curves group title and temporary Path Smoothing group title. 2011-06-03 23:05:22 +02:00
Jonathan Puckey
083099a919 Add Path#closed example. 2011-06-03 23:04:18 +02:00
Jonathan Puckey
8bb8baa199 Merge remote branch 'origin/master' 2011-06-03 22:30:23 +02:00
Jonathan Puckey
9f6e4f0491 Point docs: rename Vectorial Math Functions grouptitle to Vector Math Functions. 2011-06-03 22:30:06 +02:00
Jonathan Puckey
9cb362d389 Add tests for Symbol#place 2011-06-03 22:27:18 +02:00
Jonathan Puckey
7abdce4f9c Implement Symbol#place(position) 2011-06-03 22:25:37 +02:00
Jürg Lehni
7c57324b3a Switch to Bootstrap.js version that is produced by compiling it with CORE_ONLY flag, and adapt Base.js so Base still gets exported. 2011-06-03 21:20:36 +01:00
Jürg Lehni
aade3391e5 Merge remote-tracking branch 'origin/master' 2011-06-03 17:46:48 +01:00
Jonathan Puckey
96ac41e5c5 Item & PathStyle: implement paperscript examples. 2011-06-03 18:45:01 +02:00
Jonathan Puckey
e273a048cd Group docs: change the height of the constructor example. 2011-06-03 18:44:22 +02:00
Jonathan Puckey
7771fd8736 jsdoc template: example.tmpl: add a div around the pre code, so it receives the bottom margin. 2011-06-03 18:43:47 +02:00
Jonathan Puckey
54e98cb4e2 jsdoc template: make the paperscript examples 100 high with a split pane by default. 2011-06-03 18:42:52 +02:00
Jonathan Puckey
4235af8e35 jsdoc template: Copy the changes made to the Code / PaperScript tags on paperjs.org. 2011-06-03 18:42:13 +02:00
Jonathan Puckey
bbd2574cfd Merge remote branch 'origin/master' 2011-06-03 15:34:20 +02:00
Jonathan Puckey
730572b118 Improve Item examples. 2011-06-03 15:34:10 +02:00
Jürg Lehni
702269675a Start adding support for rhino-canvas on server. 2011-06-03 14:05:55 +01:00
Jürg Lehni
a0e120ac5c No need to call has(), since __proto__ is hidden using define(). 2011-06-03 13:57:57 +01:00
Jürg Lehni
8e1c030230 Clean up Bootstrap.js micro-lib, synchronize Paper.js sepcific changes with Bootstrap.js project and bring over comments. 2011-06-03 13:42:50 +01:00
Jonathan Puckey
e9260562f2 Improve Group example code. 2011-06-03 14:25:25 +02:00
Jonathan Puckey
831159147f Merge remote branch 'origin/master' 2011-06-03 13:24:03 +02:00
Jonathan Puckey
381fd61f60 jsdoc template: fix bug where paperScript object wasn't being nullified. 2011-06-03 13:23:57 +02:00
Jürg Lehni
931e5374b9 Merge remote-tracking branch 'origin/master' 2011-06-03 10:59:29 +01:00
Jürg Lehni
3ef55b2b4e No need for variable chaining here. 2011-06-03 10:59:20 +01:00
Jonathan Puckey
298c304660 Merge remote branch 'origin/master' 2011-06-03 11:34:34 +02:00
Jonathan Puckey
7d1297fcf4 Path#draw: Fix drawing of selected path handles. 2011-06-03 11:33:34 +02:00
Jürg Lehni
4e5e3c9bfd Instead of cloning each value that is set on PathStyle, just clone values in #initialize() / #setStyle(). 2011-06-03 08:27:49 +01:00
Jürg Lehni
02b6db1c7e Do not cache the value returned by Item#position directly, but the bounds' center that is used to create it. 2011-06-03 00:04:02 +01:00
Jürg Lehni
1b197741fa Add support for calculation of cumulative positioned offsets and use it to correctly determine visibility and event positions within canvases nested in relative divs. 2011-06-02 20:43:54 +01:00
Jonathan Puckey
082ecf1a64 jsdoc template: rename Code#format and PaperScript#format to #setup. 2011-06-02 21:01:44 +02:00