Commit graph

4246 commits

Author SHA1 Message Date
Jürg Lehni
85d7237c0f Avoid endless recursion in ToolEvent#middlePoint.
Closes #257.
2013-07-17 16:01:36 -07:00
Jürg Lehni
ef4eee1064 Pass true for isParameter in Curve#divide() calls.
Closes #252.
2013-07-04 19:39:55 -07:00
Jürg Lehni
b874a642ab Merge pull request #251 from amithalb/master
Fix importSVG
2013-07-04 11:23:06 -07:00
Jürg Lehni
affb44e0dd Prevent double execution of onLoad event on Raster. 2013-07-03 19:02:29 -07:00
Jürg Lehni
e87307af41 Fix issue with Image.onLoad() events.
naturalWidth/Height seems unreliable.
2013-07-03 18:49:05 -07:00
Jürg Lehni
8aee93b704 Have publish.sh rely on dist.sh 2013-07-03 14:05:03 -07:00
Jürg Lehni
f32d875b55 Push tags too. 2013-07-03 14:02:37 -07:00
Jürg Lehni
a9cf4a373b Bump version to v0.9.8 2013-07-03 14:00:25 -07:00
Jürg Lehni
3ebfc94e87 Update JSDoc. 2013-07-03 12:14:01 -07:00
Jürg Lehni
07627b60d0 Update JSDoc. 2013-07-02 16:05:21 -07:00
Jürg Lehni
f68f1ad518 Docs: Fix some faulty object parameters. 2013-07-02 12:22:45 -07:00
Jürg Lehni
29bdf49a0f Fix tests for deprecated Color constructors. 2013-07-02 07:53:58 -07:00
Jürg Lehni
6b575d476d Clean up package and bower files. 2013-07-01 06:50:39 -07:00
Jürg Lehni
8ee52d2983 Export legacy Color constructors. 2013-07-01 06:50:20 -07:00
Amit Halberstam
96b0603b9c correct reference to document in importSVG 2013-06-30 13:23:38 +03:00
Jürg Lehni
d369984196 Allow math operands larger than 1 when multiplying and dividing colors. 2013-06-28 07:59:33 -07:00
Jürg Lehni
e8765d18d5 Make argument reading more flexible by introducing options object for readNull and clone, and passing it on to the constructor through this.__options for additional values. 2013-06-28 07:37:03 -07:00
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
8f985a7eda Update JSDoc. 2013-06-28 05:58:39 -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
3a1fa3171b Fix Path Intersections example. 2013-06-27 23:26:26 -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
e54995878b Update JSDoc. 2013-06-27 18:02:33 -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
0717b33713 Improve README a bit more. 2013-06-27 14:57:02 -07:00
Jürg Lehni
df7fb7816e Update the README with installation instructions through package managers. 2013-06-27 14:53:54 -07:00
Jürg Lehni
24f6bbd7cf Exclude Node.js version of the library on Bower. 2013-06-27 14:53:34 -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
041586fa01 Bump version to v0.9.7 2013-06-27 14:31:42 -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