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 |
|
Jürg Lehni
|
f405ed9ae3
|
Merge remote-tracking branch 'origin/master'
|
2011-06-20 15:56:17 +01:00 |
|
Jürg Lehni
|
995c5b4081
|
Fix error in miter calculation in Path#getStrokeBounds(), recently introduced by a fix in Curve#getNormal().
|
2011-06-20 15:56:08 +01:00 |
|
Jonathan Puckey
|
2085e34d7f
|
Merge remote branch 'origin/master'
|
2011-06-20 16:51:34 +02:00 |
|
Jonathan Puckey
|
00476c327e
|
Add tests for Path selection after calling Path#curvesToPoints() and Path#smooth().
|
2011-06-20 16:51:13 +02:00 |
|
Jürg Lehni
|
ed5484e770
|
StrokeBounds example: Fix arcTo() direction.
|
2011-06-20 15:36:27 +01:00 |
|
Jürg Lehni
|
07d3cbb807
|
Remove dashes from Flock.
|
2011-06-20 15:32:53 +01:00 |
|
Jürg Lehni
|
9b9810faf3
|
Define Base.merge() and use it to merge _defaults in CharacterStyle.
|
2011-06-20 15:28:50 +01:00 |
|
Jürg Lehni
|
0b0a43c4d5
|
Merge remote-tracking branch 'origin/master'
|
2011-06-20 15:25:04 +01:00 |
|
Jürg Lehni
|
456bf7f2a9
|
Move more getter / setter injection functionality from PathStyle to Style, to be shared among all Style classes.
|
2011-06-20 15:21:42 +01:00 |
|
Jonathan Puckey
|
ce2ef52f60
|
Merge remote branch 'origin/master'
|
2011-06-20 15:59:19 +02:00 |
|
Jürg Lehni
|
a7e57ada88
|
Big refactoring of the way Style objects are linked to their owning classes, implemented in a way that works across all sub classes.
|
2011-06-20 14:58:48 +01:00 |
|
Jonathan Puckey
|
8cacbfe791
|
Examples: Replace DrawCurves with PointsToCurves.
|
2011-06-20 15:58:13 +02:00 |
|
Jürg Lehni
|
a45340d20f
|
Revert previous change since arguments.length is wrong when parameters are undefined when using Function#call.
|
2011-06-20 14:37:09 +01:00 |
|
Jürg Lehni
|
c1fcd6f3bb
|
Documentation: Convert more Array return types to Type[].
|
2011-06-20 14:27:54 +01:00 |
|
Jürg Lehni
|
5ce49e6f8f
|
Merge remote-tracking branch 'origin/master'
|
2011-06-20 14:26:05 +01:00 |
|
Jürg Lehni
|
2c68e7e58f
|
Use faster Function#call() when arguments are clear.
|
2011-06-20 14:25:27 +01:00 |
|
Jonathan Puckey
|
b0a3c3d492
|
Documentation: convert return type of Path#removeSegments to Segment[].
|
2011-06-20 15:24:35 +02:00 |
|
Jonathan Puckey
|
e23282fe05
|
Documentation: convert Array return types to Type[].
|
2011-06-20 15:19:08 +02:00 |
|
Jürg Lehni
|
811f39f30e
|
Remove redraw() command.
|
2011-06-20 14:16:59 +01:00 |
|
Jürg Lehni
|
d60b739ae2
|
Remove comas.
|
2011-06-20 14:14:08 +01:00 |
|
Jürg Lehni
|
55724b0e29
|
Move defaults handling fully to Style base class.
|
2011-06-20 14:10:37 +01:00 |
|
Jürg Lehni
|
f064886c67
|
Introduce Style as a base class for all Style classes, and move the definition of create() there.
|
2011-06-20 13:56:49 +01:00 |
|