Jürg Lehni
|
2c578d0558
|
Start implementing math operators for Color.
|
2013-06-28 07:19:53 -07:00 |
|
Jürg Lehni
|
22df17c192
|
Docs: Minor cleanups.
|
2013-06-28 06:41:36 -07:00 |
|
Jürg Lehni
|
b588f3234c
|
Docs: Improve documentation for Color constructors.
|
2013-06-28 06:41:21 -07:00 |
|
Jürg Lehni
|
16ff78a8ba
|
Import Base into PaperScript scope.
|
2013-06-28 06:39:00 -07:00 |
|
Jürg Lehni
|
8f254202e8
|
Use new @operator tag to mark math operator methods.
|
2013-06-28 05:59:07 -07:00 |
|
Jürg Lehni
|
5b574877e9
|
Make PaperScript math operator methods 'hidden' and use aliases to visible methods.
Avoids Path#add() being misinterpreted as an operator, and console.log(path + ' hi'); causing weird issues.
|
2013-06-28 05:15:49 -07:00 |
|
Jürg Lehni
|
5e7209a7bb
|
Clean up math function injection in Point and Size.
|
2013-06-28 04:58:57 -07:00 |
|
Jürg Lehni
|
6833e9d8e0
|
Fix {@default 0.5} values in documentation.
|
2013-06-27 18:15:10 -07:00 |
|
Jürg Lehni
|
fdfb7abe58
|
Update exportSVG() documentation.
|
2013-06-27 18:14:51 -07:00 |
|
Jürg Lehni
|
8e153beb36
|
Implement exportSVG() options parameter.
Supporting asString and precision so far.
|
2013-06-27 18:14:35 -07:00 |
|
Jürg Lehni
|
09f04a597f
|
Write documentation for Shape constructors.
|
2013-06-27 18:04:02 -07:00 |
|
Jürg Lehni
|
41746d2d25
|
Docs: Write documentation for #import/export JSON/SVG, for both Item and Project.
|
2013-06-27 18:03:49 -07:00 |
|
Jürg Lehni
|
e63edba0b5
|
Clean up various documentations a bit.
|
2013-06-27 18:03:03 -07:00 |
|
Jürg Lehni
|
7ade053dea
|
Move Path.Circle constructor above Path.Rectangle.
|
2013-06-27 17:54:00 -07:00 |
|
Jürg Lehni
|
0bf19d02bd
|
Add asString parameter to exportSVG() methods.
|
2013-06-27 17:43:24 -07:00 |
|
Jürg Lehni
|
f9925a71ea
|
Improve documentation for Path#split(), Curve#divide() and Curve#split().
Closes #189.
|
2013-06-27 17:18:57 -07:00 |
|
Jürg Lehni
|
9f5b543ab5
|
Fix getCurveAt() signature.
|
2013-06-27 17:13:00 -07:00 |
|
Jürg Lehni
|
38db18c2e1
|
Remove isParameter from Curve.evaluate()
|
2013-06-27 17:12:35 -07:00 |
|
Jürg Lehni
|
c123468d7a
|
Clean up Path#join() code.
|
2013-06-27 16:06:24 -07:00 |
|
Jürg Lehni
|
0c9914285f
|
Return Raster#size as a LinkedSize.
|
2013-06-27 16:06:11 -07:00 |
|
Jürg Lehni
|
9311b38894
|
Define Shape#size and #radius.
|
2013-06-27 16:05:44 -07:00 |
|
Jürg Lehni
|
2b236a3da8
|
In Path#join, add first segment of second path again at the end after joining, if it was closed.
Closes #249.
|
2013-06-27 15:43:26 -07:00 |
|
Jürg Lehni
|
fdfdf96357
|
Make load.sh work for Node.js too
|
2013-06-27 14:41:25 -07:00 |
|
Jürg Lehni
|
899ec1d360
|
Make built version of paper.js for node work and work towards using that in NPM.
|
2013-06-27 14:31:03 -07:00 |
|
Jürg Lehni
|
5245a30930
|
Improve PaperScript extension code for Node.js
|
2013-06-27 13:52:30 -07:00 |
|
Jürg Lehni
|
4f5dac8567
|
Improved PrePro to be able to dynamically load Node.js code too, and improve load.js to handle both environments.
Also moved PaperScript .pjs extension code to PaperScript, and DOM related Node.js code to dom/node.js
|
2013-06-27 13:49:04 -07:00 |
|
Jürg Lehni
|
94ce1f1312
|
Fix include statements.
They're not to be indented.
|
2013-06-27 04:46:20 -07:00 |
|
Jürg Lehni
|
77c27f8a36
|
Switch to using dependencies as bower components.
|
2013-06-27 04:21:06 -07:00 |
|
Jürg Lehni
|
f572ad9c0a
|
Improve handling of Stats.
Don't bail out if the library is not loaded.
|
2013-06-27 04:11:50 -07:00 |
|
Jürg Lehni
|
37f0c7dcd6
|
Add missing Key class to exports.
|
2013-06-27 03:58:14 -07:00 |
|
Jürg Lehni
|
214db84b84
|
Improve src/load.js to directly load the library through PrePro's load.js
|
2013-06-26 19:14:54 -07:00 |
|
Jürg Lehni
|
4e173a7d35
|
Switch to the NPM version of PrePro's load.js
|
2013-06-26 18:57:46 -07:00 |
|
Jürg Lehni
|
a908556956
|
Fix blend mode detection syntax.
|
2013-06-26 15:05:43 -07:00 |
|
Jürg Lehni
|
1126c699d2
|
Improve tests for native blend modes.
Each mode needs to be tested separately, since some browsers implement only a subset (WebKit).
|
2013-06-26 14:59:07 -07:00 |
|
Jürg Lehni
|
b8d773e129
|
Rename blendMode parameter to mode.
|
2013-06-26 14:37:41 -07:00 |
|
Jürg Lehni
|
6d38401f0c
|
Use faster direct Curve constructor instead of Base.create().
|
2013-06-25 09:58:18 -07:00 |
|
Jürg Lehni
|
9c5416360c
|
Use direct constructor instead of #initialize().
|
2013-06-25 09:56:34 -07:00 |
|
Jürg Lehni
|
52c889428b
|
Remove Curve.create() in favor of direct constructor.
|
2013-06-25 09:54:13 -07:00 |
|
Jürg Lehni
|
772c83596f
|
Replace Base.create() calls in favor of faster direct constructors.
|
2013-06-25 09:50:14 -07:00 |
|
Jürg Lehni
|
7e24de7c74
|
Replace SegmentPoint.create() in favor of normal constructor.
|
2013-06-25 09:48:51 -07:00 |
|
Jürg Lehni
|
3d5ae373a8
|
Remove static create() methods from LinkedPoint/Size/Rectangle, and give them initialize() methods instead that also name the classes in debugging.
|
2013-06-25 09:41:55 -07:00 |
|
Jürg Lehni
|
c6e50375df
|
Expose nativeBlendModes and amend BlendModes example with information about the use of native modes.
|
2013-06-24 15:55:15 -07:00 |
|
Jürg Lehni
|
1866e4ff15
|
Remove need for all special arguments in minification, and restructure code to avoid warnings.
|
2013-06-24 10:15:54 -07:00 |
|
Jürg Lehni
|
7975232ee7
|
Remove workaround for obscure WebKit bug.
It wasn't fully working either. Solution:
https://bugs.webkit.org/show_bug.cgi?id=109961
|
2013-06-24 09:37:25 -07:00 |
|
Jürg Lehni
|
b989892c24
|
Update copyright note about straps.js
|
2013-06-24 09:12:45 -07:00 |
|
Jürg Lehni
|
78a3e87ca1
|
Prevent separate View file in docs.
|
2013-06-24 09:10:26 -07:00 |
|
Jürg Lehni
|
f56794bad4
|
Remove global variable leakage.
|
2013-06-24 04:52:13 -07:00 |
|
Jürg Lehni
|
e6bed426d7
|
Make inclusion of PaperScript optional and build a core version of the library without it.
|
2013-06-24 04:49:45 -07:00 |
|
Jürg Lehni
|
eef736f3d8
|
Move define() statement to export.js and remove define hack in PaperScript.
|
2013-06-24 04:40:35 -07:00 |
|
Jürg Lehni
|
4b53d558f1
|
Refactor PaperScript code so it can be moved outside of main paper scope.
Allowing for better minifaction and the potential use of strict mode due to absence of with() statements inside the main paper scope.
|
2013-06-24 04:40:07 -07:00 |
|