Jürg Lehni
|
e76c4e0de1
|
Implement Path#curvesToPoints() using the new PathFlattener class.
|
2011-06-05 13:21:00 +01:00 |
|
Jürg Lehni
|
47085e44ca
|
Fix drawing of closed paths that was broken in recent commit.
|
2011-06-05 11:20:28 +01:00 |
|
Jürg Lehni
|
90be683113
|
Clean up and add more comments.
|
2011-06-04 19:25:50 +01:00 |
|
Jürg Lehni
|
fafb6d1d76
|
Convert CurveFlattener to PathFlattener, which can handle drawing of parts accross curve boundaries.
|
2011-06-04 18:25:41 +01:00 |
|
Jürg Lehni
|
e097ff1303
|
Include copyright notice and clean up.
|
2011-06-04 16:12:55 +01:00 |
|
Jürg Lehni
|
5fa43efb79
|
Merge remote-tracking branch 'origin/master'
|
2011-06-04 16:08:52 +01:00 |
|
Jürg Lehni
|
6c74ace1ed
|
Implement dashed stroke support. Work in progress.
|
2011-06-04 16:08:40 +01:00 |
|
Jürg Lehni
|
e5290c3f47
|
More work on Path#draw().
|
2011-06-04 15:28:06 +01:00 |
|
Jürg Lehni
|
91886211b5
|
Simplify Path#draw() by defining a private drawSegment() that's used to close paths too.
|
2011-06-04 15:16:21 +01:00 |
|
Jonathan Puckey
|
a96b272f7a
|
Documentation edits.
|
2011-06-04 15:50:29 +02:00 |
|
Jonathan Puckey
|
5e05f38df0
|
Path docs: add return tag for #getLocationAt.
|
2011-06-03 23:06:05 +02:00 |
|
Jonathan Puckey
|
d77e9cfb4f
|
Path docs: add Positions on Paths and Curves group title and temporary Path Smoothing group title.
|
2011-06-03 23:05:22 +02:00 |
|
Jonathan Puckey
|
083099a919
|
Add Path#closed example.
|
2011-06-03 23:04:18 +02:00 |
|
Jonathan Puckey
|
7d1297fcf4
|
Path#draw: Fix drawing of selected path handles.
|
2011-06-03 11:33:34 +02:00 |
|
Jonathan Puckey
|
17fcb923ff
|
Documentation: rearrange @example tags, improve examples, rename boolean -> Boolean and misc smaller edits.
|
2011-05-30 19:42:17 +02:00 |
|
Jürg Lehni
|
9d00541987
|
Clean up PORT comments.
|
2011-05-29 19:20:10 +01:00 |
|
Jonathan Puckey
|
0b9c034e0d
|
Path: document #addSegments and #insertSegments
|
2011-05-29 16:06:23 +02:00 |
|
Jonathan Puckey
|
78ab493709
|
Documentation: add todo to Path#add
|
2011-05-29 16:05:47 +02:00 |
|
Jonathan Puckey
|
1520cad144
|
Documentation: capitalize basic types in @ tags.
|
2011-05-27 21:21:49 +02:00 |
|
Jonathan Puckey
|
8e84c79aa6
|
Documentation: capitalize 'string' and 'number' types.
|
2011-05-27 20:15:15 +02:00 |
|
Jonathan Puckey
|
ca3230c1ad
|
Documentation: reorder functions, add group titles and todos.
|
2011-05-27 13:28:13 +02:00 |
|
Jürg Lehni
|
397d3676ed
|
Merge remote-tracking branch 'origin/master'
|
2011-05-26 21:00:05 +01:00 |
|
Jonathan Puckey
|
6b611add37
|
More documentation edits and function reordering.
|
2011-05-26 20:09:25 +02:00 |
|
Jonathan Puckey
|
65fa7fb01d
|
Path documentation: use Type[] for 'typed' arrays.
|
2011-05-26 16:50:13 +02:00 |
|
Jürg Lehni
|
8130ee458f
|
Rename #_countSelectedSegment() to #_updateSelection().
|
2011-05-26 11:52:28 +01:00 |
|
Jürg Lehni
|
3e7806ae50
|
Move #_countSelectedSegment().
|
2011-05-26 11:38:26 +01:00 |
|
Jürg Lehni
|
e31081f2fc
|
Use Path#_countSelectedSegment() in #removeSegments() as well.
|
2011-05-26 11:38:08 +01:00 |
|
Jürg Lehni
|
5b6bc1263c
|
Allow selection state of Segments to be changed before they are added to a Path (Part two of fixing selection cloning).
|
2011-05-26 10:59:22 +01:00 |
|
Jonathan Puckey
|
2a4f5b93f0
|
Path documentation: whitespace.
|
2011-05-23 13:37:40 +02:00 |
|
Jonathan Puckey
|
5cea863ccb
|
Add documentation to Path.
|
2011-05-23 00:26:08 +02:00 |
|
Jonathan Puckey
|
469f72d36f
|
Remove todo.
|
2011-05-21 21:39:27 +02:00 |
|
Jürg Lehni
|
b15eecc34d
|
Use new internal Item#_clone() to improve Path#clone() and PointText#clone().
|
2011-05-20 08:54:44 +01:00 |
|
Jürg Lehni
|
7401e42316
|
Implement #clone() for Item, Group and Path. Needs testing.
|
2011-05-19 21:56:23 +01:00 |
|
Jürg Lehni
|
2dcb09a662
|
Define Path#clone().
|
2011-05-19 21:34:19 +01:00 |
|
Jürg Lehni
|
ac213e94b4
|
Fix bug introduced in recent change to #getStrokeBounds(): We need to pass matrix as optional argument to #getBounds().
|
2011-05-18 21:32:00 +01:00 |
|
Jonathan Puckey
|
0a385d56a7
|
Replace accidental beans access with direct access of internal property.
|
2011-05-18 20:22:57 +02:00 |
|
Jonathan Puckey
|
b4807b9b7c
|
Fix Path#getStrokeBounds: use Path#getBounds when no strokeColor or strokeWidth are set.
|
2011-05-18 20:08:10 +02:00 |
|
Jonathan Puckey
|
241d98a1cf
|
Merge remote branch 'origin/master'
|
2011-05-18 16:01:36 +02:00 |
|
Jonathan Puckey
|
8810563a8f
|
Improve Raster#getAverageColor.
|
2011-05-18 16:00:55 +02:00 |
|
Jürg Lehni
|
34110fa82d
|
Move #_setStyle() closer to the related styles hash.
|
2011-05-16 19:19:18 +01:00 |
|
Jürg Lehni
|
c8c47bf641
|
get styles directly from _style object rather than passing through getters on Item.
|
2011-05-16 18:57:47 +01:00 |
|
Jonathan Puckey
|
4ad47ed3aa
|
Fix accidental internal bean access to #fillColor and #strokeColor in Path#_transform.
|
2011-05-16 15:11:13 +02:00 |
|
Jürg Lehni
|
cfe968d30e
|
Rename Document -> Project, DocumentView -> ProjectView, paper.document -> paper.project and paper.documents -> paper.projects, to avoid name clashing with window.document.
|
2011-05-16 13:33:15 +01:00 |
|
Jürg Lehni
|
a601cfdd6d
|
Clear the indices and path references of the removed segments.
|
2011-05-16 01:37:31 +01:00 |
|
Jürg Lehni
|
3a15360efc
|
Rename ChangeFlags.PATH to GEOMETRY.
|
2011-05-16 00:01:06 +01:00 |
|
Jürg Lehni
|
54161f81f1
|
Add expected parameters to function signature.
|
2011-05-15 19:57:48 +01:00 |
|
Jürg Lehni
|
c9d0f982c2
|
Don't set _clockwise in Path#isClockwise(), as it should only be set once the use explicitely does so.
|
2011-05-15 19:02:50 +01:00 |
|
Jürg Lehni
|
40c988b313
|
Add Path#is/setClockwise(), as a way to check and define a path's orientation.
|
2011-05-15 17:59:06 +01:00 |
|
Jürg Lehni
|
057b71ff4c
|
Don't overuse variable chaining - use only were readibility does not suffer.
|
2011-05-15 14:29:00 +01:00 |
|
Jürg Lehni
|
51dbd85db5
|
Add experimental orientation detection for Paths.
|
2011-05-15 11:33:09 +01:00 |
|