Commit graph

2313 commits

Author SHA1 Message Date
Jürg Lehni
522a3af496 Update docs. 2011-08-01 14:25:53 +01:00
Jürg Lehni
022de4d781 Some documentation fixes for v0.2 2011-08-01 14:25:46 +01:00
Jürg Lehni
4fa6ffeb01 Update docs and dist version to 0.2. 2011-08-01 12:05:06 +01:00
Jürg Lehni
ea629fefda Remove debug log. 2011-08-01 12:03:23 +01:00
Jürg Lehni
14895f412c Fix PaperScope#install() so classes actually get injected. 2011-08-01 12:02:50 +01:00
Jürg Lehni
a8c08b3301 Docs: Document Path#getNearestLocation() and #getNearestPoint(). 2011-08-01 11:48:27 +01:00
Jürg Lehni
c8578658ae Docs: Remove |null from @return, since it's verbally described, and null can also be a HitResult. 2011-08-01 11:48:07 +01:00
Jürg Lehni
31cc571e8a Docs: Hide matrix parameter in Item#hitTest() and add "options." in front of each options property. 2011-08-01 11:47:42 +01:00
Jürg Lehni
884ea96a29 Docs: Link HitResult back to #hitTest() functions. 2011-08-01 11:47:08 +01:00
Jürg Lehni
8cdc5ea2aa Change PaperScope#install() to be clever about project, view and tool references and link them through a getter to their current state in PaperScope. 2011-08-01 11:21:22 +01:00
Jürg Lehni
3fc21cd4b6 Always call View#draw() since it won't redraw internally if nothing has changed. 2011-08-01 11:02:00 +01:00
Jürg Lehni
6b6d5909c1 Revert back to PaperScope#setup() and keep #initialize0 simple. 2011-08-01 11:01:27 +01:00
Jürg Lehni
6086165d1a Merge remote-tracking branch 'origin/master' 2011-08-01 08:56:07 +01:00
Jürg Lehni
0e6aeac28c Fix HSLColor documentation. 2011-08-01 08:53:28 +01:00
Jürg Lehni
5b963b13e1 Export classes through PaperScope in dev mode too. 2011-08-01 08:53:07 +01:00
Jürg Lehni
c6cf4f9cf0 Only create an empty Project for a PaperScope if a canvas was provided for it. 2011-08-01 08:52:51 +01:00
Jonathan Puckey
e0650cae73 Document HitResult, Item#hitTest(point, options) and Project#hitTest(point, options). 2011-07-31 22:58:51 +02:00
Jonathan Puckey
e73a2df6b2 Update JsDoc. 2011-07-31 22:07:10 +02:00
Jürg Lehni
da6f923463 Update JsDoc. 2011-07-31 15:47:23 +01:00
Jürg Lehni
fc7da5fa13 Docs: Improve HSL example. 2011-07-31 15:46:26 +01:00
Jürg Lehni
42c9f91279 Rename internal Matrix transform parameters to (a, c, b, d, tx, ty), expoes values through Matrix#getValues() and improve documentation. 2011-07-31 15:26:09 +01:00
Jürg Lehni
b14a294430 Delcare DomElement and DomEvent as private namespaces. 2011-07-31 15:23:26 +01:00
Jürg Lehni
f5bfa8f566 Update JsDoc. 2011-07-31 15:20:49 +01:00
Jürg Lehni
13ae51789f Remove reduntant argument, fixing visibility check. 2011-07-31 14:25:23 +01:00
Jürg Lehni
d84f0d34cf Fix errors in DomElement.getOffset() by using native #getBoundingClientRect() in DomElement.getBounds() and relying on that. Closes #29 2011-07-31 14:13:29 +01:00
Jürg Lehni
e1d90c921c Do not parse PaperScript code in exigent mode. Relaxes requirements of semicolons, etc. 2011-07-31 12:14:37 +01:00
Jürg Lehni
3c20f31a28 Fix parse-js.sh script to work with new Prepro.js 2011-07-31 12:11:49 +01:00
Jürg Lehni
d3241f2540 Port back changes from Parse-js HEAD and merge changes back into non-unicdoe version. 2011-07-31 12:11:22 +01:00
Jürg Lehni
7f81184848 Only intersect lines if their lengths are not conflicting with Numerical.EPSILON comparison of the cross product in Line#intersect(). 2011-07-30 11:38:17 +01:00
Jürg Lehni
7d0db22b9b Use squared distances in nearest point algorithm. 2011-07-30 11:37:07 +01:00
Jürg Lehni
293399e5b9 Add optional parameter 'squared' to Point#getLength() and #getDistance(). 2011-07-30 11:36:28 +01:00
Jürg Lehni
dcccc39dcb Remove double equals to make script work on Debian's Dash shell too. 2011-07-30 00:38:30 +01:00
Jonathan Puckey
d61f70f443 Add failing Path#hitTest(point) test. 2011-07-28 16:55:14 +02:00
Jürg Lehni
2386743b39 Fix CompoundPath tests to reflect new behavior in orientation handling. 2011-07-28 11:06:29 +01:00
Jürg Lehni
3a7c5286b5 Improve precision of Line#intersect() and other parts that check for a divisor to not be 0, by comparing against the new Numerical.EPSILON rather than Numerical.TOLERANCE. 2011-07-28 11:03:59 +01:00
Jürg Lehni
1519a1d220 Improve documentation for PaperScope. 2011-07-27 22:58:45 +01:00
Jürg Lehni
501fb17365 Add more documentation for global scope. 2011-07-27 22:58:36 +01:00
Jürg Lehni
297aef643d Simplify the way PaperScope objects are created and linked to Canvas elements, in order to facilitate usage through plain JavaScript. 2011-07-27 22:39:58 +01:00
Jürg Lehni
3f76d1ffe6 Merge remote-tracking branch 'origin/master' 2011-07-27 22:04:57 +01:00
Jürg Lehni
739845fc82 Update JsDoc. 2011-07-27 22:04:36 +01:00
Jürg Lehni
c6525ec4fa Fix link to global paper variable. 2011-07-27 22:02:42 +01:00
Jürg Lehni
e197f94669 Fix links and typos. 2011-07-27 22:02:29 +01:00
Jürg Lehni
f5ee4a1ff7 Improve documentation for Matrix#createInverse(). 2011-07-27 22:01:51 +01:00
Jürg Lehni
2736af646d Move documentation for _global_ to a new src/docs/ folder. 2011-07-27 22:00:59 +01:00
Jürg Lehni
afec10c5bf Move prepro.js to lib/and include() statements for test units to their own files inside tests/ 2011-07-27 22:00:31 +01:00
Jonathan Puckey
7a8c9ef41d Merge remote branch 'origin/master' 2011-07-27 20:30:48 +02:00
Jonathan Puckey
60a4292691 Fix the way children of CompoundPath have their orientation set by overriding Item#insertChild(index, item). 2011-07-27 20:30:39 +02:00
Jonathan Puckey
7dcce87576 Merge pull request #31 from bgrins/trailing-commas
Get rid of trailing comma to prevent parser error in IE
2011-07-27 10:32:02 -07:00
bgrins
09e75d9da2 get rid of trailing comma to prevent parser error in IE 2011-07-27 11:09:21 -05:00
Jürg Lehni
a750564d24 Add comment stripping directly to Prepro.js, and remove jsstrip.pl 2011-07-26 16:01:15 +01:00