Jürg Lehni
|
b6d1be14ca
|
Add missing function to parse-js.
|
2011-03-04 00:44:15 +00:00 |
|
Jürg Lehni
|
6619447aa1
|
Convert ToolEvent type constants to Sg-style hyphenated lowercase strings.
|
2011-03-03 23:06:53 +00:00 |
|
Jürg Lehni
|
ba7d2c0acf
|
Add minified version of parse-js.
|
2011-03-03 22:59:27 +00:00 |
|
Jürg Lehni
|
52ab361ed5
|
Include minified version of parse-js (25kb) inside PaperScript object.
|
2011-03-03 22:55:18 +00:00 |
|
Jürg Lehni
|
2b6dede883
|
Clean up white-spaces and line lengths.
|
2011-03-03 22:45:17 +00:00 |
|
Jürg Lehni
|
15a7b7e245
|
Add operator overloading through JS AST parsing and mangling to PaperScript.
|
2011-03-03 22:19:12 +00:00 |
|
Jürg Lehni
|
111fd5ea14
|
Add a modified version of parse-js, to work on browsers and stripped of code that is not needed for paper.js.
|
2011-03-03 22:14:46 +00:00 |
|
Jürg Lehni
|
3324b083b7
|
Always execute PaperScripts on load, not on domready, as we want assets to be present as well.
|
2011-03-03 18:53:06 +00:00 |
|
Jürg Lehni
|
0b3c57ff88
|
Let paper be an instance of Base, and use its #extend() function to create scopes that inherit from paper but do not directly modify it.
|
2011-03-03 18:35:37 +00:00 |
|
Jürg Lehni
|
2c78a0a08b
|
Add beginning of support for <script type="text/paperscript">, inspired by Coffee Script.
|
2011-03-03 18:31:56 +00:00 |
|
Jürg Lehni
|
08970abd6d
|
Let paper.install() override existing values...
|
2011-03-03 18:31:18 +00:00 |
|
Jürg Lehni
|
cbe29fd02b
|
Rename Color#getCssString() to #toCssString(), to go with #toString().
|
2011-03-03 17:36:53 +00:00 |
|
Jürg Lehni
|
2f63a65ded
|
Clean up code.
|
2011-03-03 17:35:59 +00:00 |
|
Jürg Lehni
|
46a0589547
|
Use Error constructor correctly.
|
2011-03-03 17:29:40 +00:00 |
|
Jürg Lehni
|
484d74160b
|
Set private properties directly in initialize(), no need to call setters.
|
2011-03-03 17:27:56 +00:00 |
|
Jürg Lehni
|
0efc23b25c
|
Remove 2nd redundant definition of Gradient#getStops().
|
2011-03-03 17:26:30 +00:00 |
|
Jürg Lehni
|
7e52355f93
|
Rename Doc -> Document since paper code is namespaced now and does not clash with global Document prototype.
|
2011-03-03 17:23:27 +00:00 |
|
Jürg Lehni
|
fe1a01ecb6
|
Move paper.populate() functionality back to build.js.
|
2011-03-03 17:11:14 +00:00 |
|
Jürg Lehni
|
9a9cb91f72
|
Use the faster Point/Size.create() constructors across the basic classes for higher performance.
|
2011-03-03 17:07:12 +00:00 |
|
Jürg Lehni
|
dca26949ff
|
Add Size.create(), in analogy to Point.create().
|
2011-03-03 17:06:35 +00:00 |
|
Jürg Lehni
|
5508e6eab6
|
Change scoped compilation of paper so that only a populated paper object is returned to the global scope, but nothing is installed yet.
|
2011-03-03 16:57:29 +00:00 |
|
Jürg Lehni
|
a543801598
|
Rename Bootstrap.js file to lowercase bootstrap.js.
|
2011-03-03 16:56:31 +00:00 |
|
Jürg Lehni
|
59dc0ae6d0
|
Make sure paper.* objects are only installed in the passed object if there is not already something under the same name.
|
2011-03-03 16:38:04 +00:00 |
|
Jürg Lehni
|
e9881c02fc
|
Merge remote-tracking branch 'origin/master'
|
2011-03-03 16:33:01 +00:00 |
|
Jürg Lehni
|
5ed30d7089
|
Make sure all files end on empty line.
|
2011-03-03 16:32:55 +00:00 |
|
Jürg Lehni
|
dc75e14c59
|
Make sure utility objects stay in paper scope.
|
2011-03-03 16:32:39 +00:00 |
|
Jürg Lehni
|
aed8b0a6bc
|
Add utility objects to build.
|
2011-03-03 16:32:15 +00:00 |
|
Jürg Lehni
|
d088dc629e
|
Rename Paper to paper, implement it as an object literal and add paper.populate() and paper.install() methods that do the bootstraping.
|
2011-03-03 16:21:17 +00:00 |
|
Jonathan Puckey
|
00bf9aa88c
|
Fall back to Item#bounds if the Item doesn't have Item#strokeBounds in Item#draw.
|
2011-03-03 17:05:12 +01:00 |
|
Jonathan Puckey
|
02943c4190
|
Add missing CanvasProvider.js dependency to Examples.
|
2011-03-03 17:04:14 +01:00 |
|
Jürg Lehni
|
6923e168ab
|
Scope the compilation of the whole library and inject produced classes into global scope for now, add options later.
|
2011-03-03 14:09:20 +00:00 |
|
Jürg Lehni
|
80a5e4513e
|
Add preprocessor and build scripts for production of single file Paper.js version, based on previous work for Bootstrap.
|
2011-03-03 13:45:21 +00:00 |
|
Jonathan Puckey
|
2f9531810c
|
Implement todos about using strokeBounds instead of bounds.
|
2011-03-03 14:43:37 +01:00 |
|
Jürg Lehni
|
941c3c7346
|
Declare all classes as local variables, so they can be scoped.
|
2011-03-03 13:33:41 +00:00 |
|
Jürg Lehni
|
c84df5a346
|
Use Segment.read() correctly in Path#initialize().
|
2011-03-03 13:16:14 +00:00 |
|
Jürg Lehni
|
3a46ac3b54
|
Allow read() methods to receive an optional length parameter.
|
2011-03-03 13:15:55 +00:00 |
|
Jürg Lehni
|
ecbd52cdf7
|
Fix Path.Line() constructor with 4 arguments.
|
2011-03-03 13:10:29 +00:00 |
|
Jürg Lehni
|
e089e080c2
|
Make Path#_add() handle both addition and insertion, and use it consequently so segment.path always gets correctly set.
|
2011-03-03 13:10:17 +00:00 |
|
Jürg Lehni
|
9a2462d147
|
No need to explicitely call Point#toString() in Segment#toString().
|
2011-03-03 13:03:57 +00:00 |
|
Jürg Lehni
|
d4d6d652ec
|
Rename Path#addSegment() to #_add(), to make sure it's supposed to be a private method.
|
2011-03-03 12:51:47 +00:00 |
|
Jürg Lehni
|
53b091b871
|
Rename #transformContent() to #_transform(), to make sure it's supposed to be a private method.
|
2011-03-03 12:47:55 +00:00 |
|
Jürg Lehni
|
1f29f6f104
|
Improve formating.
|
2011-03-03 12:46:50 +00:00 |
|
Jürg Lehni
|
b29a87653d
|
Replace % 2 with & 1 (modulo 2).
|
2011-03-03 12:46:31 +00:00 |
|
Jürg Lehni
|
231343c6a2
|
Fix context orientation bug correct proberly, by flipping shear values instead of scale values.
|
2011-03-03 12:34:55 +00:00 |
|
Jürg Lehni
|
490ef78b53
|
Fix error in CompoundPath#closePath(): Forgot to pass 'this' to getCurrentPath().
|
2011-03-03 12:26:28 +00:00 |
|
Jürg Lehni
|
1d37c7b76f
|
Use 'that' variable for private instance method.
|
2011-03-03 12:25:41 +00:00 |
|
Jürg Lehni
|
26ebe2f2c0
|
Refacture CompoundPath to only use injection scope for methods that require getCurrentPath().
|
2011-03-03 12:23:46 +00:00 |
|
Jürg Lehni
|
07fcc000cf
|
Move the new refactored CanvasDraw functionality to static Item.draw() and #draw() instance methods on each prototype.
|
2011-03-03 12:19:43 +00:00 |
|
Jürg Lehni
|
54bb4d5527
|
Merge remote-tracking branch 'origin/master'
|
2011-03-03 10:55:39 +00:00 |
|
Jürg Lehni
|
964dc462e9
|
Add comments to Path#strokeBounds and scafolding for #controlBounds too.
|
2011-03-03 10:55:35 +00:00 |
|