Jürg Lehni
|
1c12c82df1
|
Rename unit test file Document.js to Project.js.
|
2011-05-17 13:08:36 +01:00 |
|
Jürg Lehni
|
eafc0d202e
|
Add comment about #clockwise magic happening in #append*() methods.
|
2011-05-16 20:17:14 +01:00 |
|
Jürg Lehni
|
4d0858c6bf
|
Add more CompounPath tests.
|
2011-05-16 20:16:51 +01:00 |
|
Jürg Lehni
|
889b1687f9
|
Use #setChildren() in Group constructor and allow passing of children both as arguments and inside an array.
|
2011-05-16 20:16:27 +01:00 |
|
Jürg Lehni
|
baf35ea18c
|
Rename parameter.
|
2011-05-16 20:15:16 +01:00 |
|
Jürg Lehni
|
8a449b0e76
|
Remove deprecated Item#appendChild().
|
2011-05-16 20:14:49 +01:00 |
|
Jürg Lehni
|
f12ed7234a
|
Shorten code.
|
2011-05-16 19:44:46 +01:00 |
|
Jürg Lehni
|
97c4435d87
|
Fix typo.
|
2011-05-16 19:35:42 +01:00 |
|
Jürg Lehni
|
d535a1f6fc
|
Clean up method sequence in Item.
|
2011-05-16 19:35:09 +01:00 |
|
Jürg Lehni
|
75b0fa3596
|
Add Item#removeChildren() and #setChildren().
|
2011-05-16 19:34:57 +01:00 |
|
Jürg Lehni
|
00b5f6a6bb
|
Improve Group tests.
|
2011-05-16 19:21:44 +01:00 |
|
Jürg Lehni
|
c4203fe174
|
Change the way associated PathStyles are created and updated.
|
2011-05-16 19:21:36 +01:00 |
|
Jürg Lehni
|
05c0eb0e51
|
Simplify PathStyle#initialize().
|
2011-05-16 19:20:32 +01: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 |
|
Jürg Lehni
|
da670b4171
|
Improve comments.
|
2011-05-16 18:29:53 +01:00 |
|
Jürg Lehni
|
8faf989fcc
|
Merge remote-tracking branch 'origin/master'
|
2011-05-16 18:29:22 +01:00 |
|
Jonathan Puckey
|
3f3f6dc575
|
Add Vektor example to Tools.
|
2011-05-16 17:57:58 +02:00 |
|
Jürg Lehni
|
8b2da34483
|
Remove reference to inexisting Request.js file.
|
2011-05-16 16:57:52 +01:00 |
|
Jonathan Puckey
|
4ebb6985d6
|
CharacterStyle: Use 'sans-serif' as default font.
|
2011-05-16 15:58:10 +02:00 |
|
Jonathan Puckey
|
6dbecffd85
|
Merge remote branch 'origin/master'
|
2011-05-16 15:46:35 +02:00 |
|
Jonathan Puckey
|
2be70ae73f
|
Gradient#setStops: improve checking for array.
|
2011-05-16 15:46:25 +02:00 |
|
Jürg Lehni
|
b65ec49207
|
Merge remote-tracking branch 'origin/master'
|
2011-05-16 14:26:48 +01:00 |
|
Jürg Lehni
|
c30565fb7b
|
Remove files forgotten in recent renaming.
|
2011-05-16 14:26:16 +01:00 |
|
Jonathan Puckey
|
06f738d4db
|
Add PathStructure example to Scripts.
|
2011-05-16 15:26:07 +02:00 |
|
Jonathan Puckey
|
979ab18e9a
|
Implement basic version of TextItem, PointText, CharacterStyle & ParagraphStyle.
|
2011-05-16 15:15:47 +02: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
|
378952666a
|
Clean ups.
|
2011-05-16 13:42:23 +01: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
|
edd36e7df8
|
Remove Document#bounds and #size, since this will be on Page.
|
2011-05-16 13:10:18 +01:00 |
|
Jürg Lehni
|
fa0b664312
|
Fix error in mousedown handler when using eventInterval.
|
2011-05-16 13:08:22 +01:00 |
|
Jürg Lehni
|
a19f2020fb
|
Use that instead of this, since we're in an unbound callback.
|
2011-05-16 13:06:26 +01:00 |
|
Jürg Lehni
|
1747118ed4
|
Have onResize() call onFrame() if it's defined.
|
2011-05-16 13:03:02 +01:00 |
|
Jürg Lehni
|
08c03192b6
|
Fix examples to use view.bounds/size/center instead of document.bounds/size.
|
2011-05-16 12:51:20 +01:00 |
|
Jürg Lehni
|
0504b99af8
|
Redraw DocumentView in #setViewBounds().
|
2011-05-16 12:45:49 +01:00 |
|
Jürg Lehni
|
671d790068
|
Fix bug caused by recent commit.
|
2011-05-16 12:43:51 +01:00 |
|
Jürg Lehni
|
6051fe3fda
|
Add / fix DocumentView#viewBounds, #center, #bounds, #size.
|
2011-05-16 12:37:02 +01:00 |
|
Jürg Lehni
|
6e4334ee29
|
Fix Size#toString().
|
2011-05-16 12:36:17 +01:00 |
|
Jürg Lehni
|
f545805786
|
Move Rectangle#transformCornerCoordinates() to Matrix#_transformCorners().
|
2011-05-16 12:29:52 +01:00 |
|
Jürg Lehni
|
fc547793fa
|
Remove redundant Rectangle#transformBounds() and merge its code with less optimised Matrix#transformBounds().
|
2011-05-16 12:25:18 +01:00 |
|
Jürg Lehni
|
aaceeb4f54
|
Add Rectangle#transformBounds().
|
2011-05-16 11:32:33 +01:00 |
|
Jürg Lehni
|
fc776f03eb
|
Add Rectangle#transformCornerCoordinates() and use it in Item.drawSelectedBounds().
|
2011-05-16 11:25:39 +01:00 |
|
Jürg Lehni
|
9f34042bae
|
Fix comment.
|
2011-05-16 11:19:47 +01:00 |
|
Jürg Lehni
|
42e7fc910f
|
Simplify GradientColor#transform(), using new _transformPoint() parameters.
|
2011-05-16 11:19:40 +01:00 |
|
Jürg Lehni
|
f0b29e0e4d
|
Make Item#position a LinkedPoint and change the way it's transformed in #transform().
|
2011-05-16 11:19:19 +01:00 |
|
Jürg Lehni
|
f92434ab54
|
Add dontNotify parameter to _transformPoint(), required sometimes for LinkedPoints.
|
2011-05-16 11:18:53 +01:00 |
|
Jürg Lehni
|
9384fb4fb5
|
Add an optinonal dest parameter to Matrix#_transformPoint().
|
2011-05-16 11:07:39 +01:00 |
|
Jürg Lehni
|
71bf4fdbca
|
Two forms of scoping are required when evaluating PaperScripts: with(){} and a function scope, so local vars are not trying to override properties on the scope through with(){} (e.g. var view = ...).
|
2011-05-16 11:00:33 +01:00 |
|
Jürg Lehni
|
2773ef693a
|
Add PaperScope#view and #layer as shortcuts to #document.activeView / activeLayer.
|
2011-05-16 10:59:45 +01:00 |
|
Jürg Lehni
|
a601cfdd6d
|
Clear the indices and path references of the removed segments.
|
2011-05-16 01:37:31 +01:00 |
|