Commit graph

2571 commits

Author SHA1 Message Date
Jürg Lehni
b51c1286da Add documentation for all color components. Closes #43. 2011-09-18 10:54:26 +02:00
Jürg Lehni
8db7352342 Merge branch 'master' of github.com:paperjs/paper.js 2011-09-18 10:38:33 +02:00
Jürg Lehni
936fd43c37 Implement Item#layer. 2011-09-18 10:38:16 +02:00
Jürg Lehni
4ff710886e Merge pull request #49 from benogle/mac-command-key-fix
Add keycodes for Mac command keys in different browsers.
2011-09-03 06:15:57 -07:00
Ben Ogle
7ebd4a17bd Adds other keycodes for command keys in different browsers.
- 224 for firefox
 - 93 for the right command key in WebKit browsers.
2011-08-25 18:53:30 -07:00
Jürg Lehni
ae116cd043 Improve comments about change notifications. 2011-08-23 16:36:57 +02:00
Jürg Lehni
7a5ca5609f Have View#_redraw() properly redraw the content even if nothing has changed inside. 2011-08-23 16:36:18 +02:00
Jürg Lehni
79f351e5ee No need to check for _project as it will always bet set. 2011-08-23 16:35:19 +02:00
Jürg Lehni
a775ddec9e Remove obsolete comment. 2011-08-22 11:14:49 +02:00
Jürg Lehni
b54f9f2228 Introduce View#_redraw() and use it in #setViewSize() and #_transform(). 2011-08-22 11:14:38 +02:00
Jürg Lehni
3ca165f413 Move #_transform() up. 2011-08-22 11:13:42 +02:00
Jürg Lehni
a081419a8b Fix View#bounds for zoom levels other than 1. 2011-08-22 11:12:40 +02:00
Jürg Lehni
7c2fabd6a1 Remove redundant scope by sharing one between browser and server code. 2011-08-22 11:05:59 +02:00
Jonathan Puckey
0ee1e80c68 Node.js: add Raster support. 2011-08-21 16:38:06 +02:00
Jonathan Puckey
896afefa99 Merge pull request #46 from jonathanpuckey/master
Node.js integration for exporting images and frame sequences.
2011-08-20 07:06:38 -07:00
Jonathan Puckey
a28b20dac8 Merge branch 'master' of https://github.com/paperjs/paper.js 2011-08-20 15:55:48 +02:00
Jonathan Puckey
bec8cf967e View: add documentation todos. 2011-08-20 15:51:54 +02:00
Jonathan Puckey
c67b8acd4e Clean up Node.js tadpoles example. 2011-08-20 15:50:25 +02:00
Jonathan Puckey
1f9993f894 Move Node.js specific things to dedicated folder. 2011-08-20 15:48:57 +02:00
Jonathan Puckey
70dc88ca91 View: Clean up #exportImage() and #exportFrames(). 2011-08-20 15:46:06 +02:00
Jonathan Puckey
197c2670d6 Implement View#exportImage(uri, param) 2011-08-18 11:11:24 +02:00
Jürg Lehni
76df9d9a92 Fix documentation for beans. 2011-08-16 13:53:36 +02:00
Jürg Lehni
4e1dd90549 Use faster Size.create(). 2011-08-16 13:52:31 +02:00
Jürg Lehni
4dd90b440e Use new dontLink parameter for Path.Constructors optimisations. 2011-08-16 13:52:18 +02:00
Jürg Lehni
c9eb538f7a Support an optional argument 'dontLink' in getters that normalled return LinkedPoint and LinkedSize objects, for internal use. 2011-08-16 13:50:59 +02:00
Jürg Lehni
8f8188a091 Optimise Path.Rectangle constructor. 2011-08-16 13:39:37 +02:00
Jürg Lehni
3c5a46a8af Implement SegmentPoint#isZero() that does not use the x / y accessors but the internal properties directly, for performance reasons, since it is used a lot internally. 2011-08-16 13:38:52 +02:00
Jürg Lehni
7e0307dd6a Correct comments. 2011-08-16 13:36:58 +02:00
Jonathan Puckey
88ceffcd87 Add Node.js PaperScript Tadpoles example. 2011-08-13 19:11:21 +02:00
Jonathan Puckey
25cb4a7dd1 Support running of PaperScript .pjs files. 2011-08-13 18:26:43 +02:00
Jonathan Puckey
38a4184ab5 Color: Avoid dividing by 0 in rgb-hsl converter. 2011-08-13 15:26:14 +02:00
Jonathan Puckey
adb5bfb560 Add failing test. 2011-08-13 15:25:29 +02:00
Jonathan Puckey
0154464fb3 Paperoids example: remove css dependency. 2011-08-11 20:30:50 +02:00
Jonathan Puckey
5611ce0793 Paperoids example: fix dependencies and embed css. 2011-08-11 20:29:43 +02:00
Jonathan Puckey
6455bf5e98 Add Paperoids example. 2011-08-11 20:24:04 +02:00
Jonathan Puckey
0f7406f7f4 Add Node.js example. 2011-08-10 21:04:01 +02:00
Jonathan Puckey
a9eebaed64 Support npm. 2011-08-10 21:02:54 +02:00
Jonathan Puckey
8ce7ed578e Allow loading of Paper.js on Node.js without the need for compiling. 2011-08-10 21:02:32 +02:00
Jonathan Puckey
ebc3b3789b Merge branch 'master' of https://github.com/paperjs/paper.js 2011-08-10 18:30:42 +02:00
Jonathan Puckey
e82a838085 Fix problem in Item#rasterize(resolution) where rasterizing the active layer caused the resulting Raster to be positioned wrongly. 2011-08-08 18:43:45 +02:00
Jonathan Puckey
a58bbaf6cf Fix Size#isZero(). 2011-08-04 15:06:35 +02:00
Jonathan Puckey
24f5188c24 Merge remote-tracking branch 'origin/master' 2011-08-04 10:55:02 +02:00
Jonathan Puckey
3a3f5ecabb Segment: notify path of change when selection state of handles changes, so the view is redrawn. 2011-08-04 10:54:56 +02:00
Jürg Lehni
4e78c55859 Simplify PointText#setPoint() 2011-08-03 23:37:56 +02:00
Jürg Lehni
7c95eb7694 Do not usse LinkedPoint internally for PointText#point, since we're returning new instances each time now in #getPoint(). 2011-08-02 16:08:00 +01:00
Jonathan Puckey
fe1b2ca8a0 Fix PointText#setPoint(point) and PointText#setPosition(point). 2011-08-02 14:31:35 +02:00
Jürg Lehni
0bbb4640ce Increase version to 0.21, supporting tools in direct JavaScript mode, including support for multiple tools. 2011-08-02 10:09:40 +01:00
Jürg Lehni
fe97b94340 Define PaperScopeItem as a private base class for all classes that have lists and references in the PaperScope (Project, View, Tool), so they can share functionality (#initialize(), #activate(), #remove()), and add support for multiple tools. Closes #27 2011-08-02 10:08:08 +01:00
Jonathan Puckey
a9780374f2 Remove logging statements. 2011-08-02 11:07:59 +02:00
Jonathan Puckey
94a6860f7f Add back Node.js related changes to View. 2011-08-02 11:02:04 +02:00