Commit graph

1985 commits

Author SHA1 Message Date
Jonathan Puckey
531e0bb203 Add Space example. 2011-06-21 14:54:29 +02:00
Jonathan Puckey
2c2d636198 Merge remote branch 'origin/master' 2011-06-21 01:52:59 +02:00
Jonathan Puckey
a17dc4171a Fix bug where cloned items that were selected weren't appearing in the Project#selectedItems array. 2011-06-21 01:52:44 +02:00
Jürg Lehni
9ac63831d7 No need to call DomEvent.stop() in these handlers, as selectstart handles it all. 2011-06-21 00:42:39 +01:00
Jürg Lehni
e0f13dd3a0 Merge branch 'master' of github.com:scriptographer/paper.js 2011-06-21 00:38:19 +01:00
Jürg Lehni
8a285a7baa Handle mouse events that go outside the view / canvas, by only installing mousedown events on view and all others on document. 2011-06-21 00:38:11 +01:00
Jürg Lehni
8361f513ed Allow the optional overriding of target in DomEvent.getOffset(). 2011-06-21 00:37:26 +01:00
Jürg Lehni
f6fdbd349d Define DomEvent.stop() as a shortcut to stopPropagation() / preventDefault(). 2011-06-21 00:37:03 +01:00
Jonathan Puckey
4c306b9997 Add failing test where after cloning a selected item, it isn't added to the Project#selectedItems array. 2011-06-21 01:31:07 +02:00
Jonathan Puckey
3a9da3c0a0 Documentation: add class example to PointText. 2011-06-21 01:12:47 +02:00
Jonathan Puckey
b5cc2e9334 Merge remote branch 'origin/master' 2011-06-21 00:58:35 +02:00
Jonathan Puckey
2361556af6 TextItem related documentation. 2011-06-21 00:54:14 +02:00
Jonathan Puckey
ba7291700b Hide Style from documentation. 2011-06-21 00:49:42 +02:00
Jürg Lehni
909bb6310f Shorten RadialRainbows. 2011-06-20 22:54:45 +01:00
Jürg Lehni
7c423190d4 Merge remote-tracking branch 'origin/master' 2011-06-20 22:51:59 +01:00
Jürg Lehni
0fecbe50bc Define View#isVisible() and use it to only handle key events if the focused view is not hidden. 2011-06-20 22:51:39 +01:00
Jürg Lehni
65bfb091e1 Filter out invisible elements in DomElement.isVisible() check. 2011-06-20 22:51:05 +01:00
Jonathan Puckey
ac310ecc04 Fix RadialRainbows example. 2011-06-20 23:20:39 +02:00
Jürg Lehni
23a0db603f No need to set text fillColor to black anymore, as it's the default now. 2011-06-20 20:25:19 +01:00
Jürg Lehni
937a9def77 Override default fillColor to 'black' in CharacterStyle. 2011-06-20 20:25:02 +01:00
Jürg Lehni
54964907dd Change Base.merge so that it produces a new hash and merges all passed hashes into it in sequence. 2011-06-20 20:24:33 +01:00
Jürg Lehni
3aff54517e Add support for ChangeFlag notifications to Raster. 2011-06-20 20:13:24 +01:00
Jürg Lehni
ea9eacf578 Fix value of ChangeFlag.CLIPPING 2011-06-20 20:07:04 +01:00
Jürg Lehni
4c20b1ef3d Support rotations by multiples of 90 degrees too, as they can be applied correctly to rectangles. 2011-06-20 19:52:22 +01:00
Jürg Lehni
5e524a478e We need to process _bounds and _position outside of _transform() handling, since items without _transform() can still have cached values, e.g. Group. 2011-06-20 19:33:34 +01:00
Jürg Lehni
22736dc72d Clean up code. 2011-06-20 19:32:42 +01:00
Jürg Lehni
bc567f4d29 Improve shear() parameter naming. 2011-06-20 19:20:51 +01:00
Jürg Lehni
2f2b3ed7e0 Fix selection behavior when segment lists are cleared, in which case we expect the path to remain selected. 2011-06-20 19:08:34 +01:00
Jürg Lehni
8909216cc0 Remove use of characterStyle / paragraphStyle where not necessary. 2011-06-20 18:55:08 +01:00
Jürg Lehni
318ed69ad2 Remove use of characterStyle / paragraphStyle where not necessary. 2011-06-20 18:53:36 +01:00
Jürg Lehni
0a877adba7 Define tests for path.bounds and path.strokeBounds with different stroke styles. 2011-06-20 18:49:16 +01:00
Jürg Lehni
8fb97a973a Remove stats for now since it is not included in built library. 2011-06-20 18:36:03 +01:00
Jürg Lehni
5e39e60d51 Fix typo. 2011-06-20 18:34:51 +01:00
Jürg Lehni
582f8f84fb Remove debug logging. 2011-06-20 18:28:12 +01:00
Jürg Lehni
58425c6bd3 Merge remote-tracking branch 'origin/master' 2011-06-20 18:25:59 +01:00
Jürg Lehni
5b85d78faa Use Matrix#getRotation() to decide if we can transform cached _bounds and _position for perforamce improvements. 2011-06-20 18:25:49 +01:00
Jürg Lehni
c6135c6dc7 Define Matrix#getTranslation, #getScaling() and #getRotation(), as a way to extract translation, scale and rotation from matrices. 2011-06-20 18:25:19 +01:00
Jonathan Puckey
a2a8939d5d Path# rename #pointsToCurves to #simplify and #curvesToPoints to #flatten. 2011-06-20 19:17:07 +02:00
Jürg Lehni
322a427208 Flock: Use Symbol#place() instead. 2011-06-20 17:52:46 +01:00
Jürg Lehni
02408fc47e Flock example: Reuse prepared symbol definition. 2011-06-20 17:51:39 +01:00
Jürg Lehni
37f5a64dce Improve _bounds handling by introducing Item#_createBounds() that always uses LinkedRectangle class. 2011-06-20 17:34:43 +01:00
Jürg Lehni
8b66c4fa83 Remove flags parameter in Item#transform() for now. 2011-06-20 17:03:43 +01:00
Jürg Lehni
266c78f4eb Add a bit more documentation to the Color owner stuff. 2011-06-20 17:00:11 +01:00
Jürg Lehni
42e8f787ee Merge remote-tracking branch 'origin/master' 2011-06-20 16:41:39 +01:00
Jürg Lehni
08313a7f64 Smoothing example: Select path fully. 2011-06-20 16:40:30 +01:00
Jürg Lehni
4e3aa3e5c5 Move all Style classes into their own folder. 2011-06-20 16:38:01 +01:00
Jonathan Puckey
f6fbccb7a2 Examples: Convert Path#selected to Path#fullySelected where needed. 2011-06-20 17:16:27 +02:00
Jonathan Puckey
80245301e7 Merge branch 'master' of https://github.com/scriptographer/paper.js 2011-06-20 17:01:00 +02:00
Jonathan Puckey
5e495a3a6e Add tests for selection state after removing all segments of a path. 2011-06-20 17:00:41 +02:00
Jonathan Puckey
1ae2a4ba4b Fix bug in Path#selected test. 2011-06-20 16:59:51 +02:00