Jürg Lehni
|
d23e21edd7
|
Make Item#draw() protected, so we know to not directly call it.
|
2013-04-18 16:58:35 -07:00 |
|
Jürg Lehni
|
0f19e72733
|
Minor tweaks.
|
2013-04-09 19:12:47 -07:00 |
|
Jürg Lehni
|
b55d89acda
|
Move handling of clipping outside of draw function, so canvas context can correctly be saved and restored for clipping paths too.
|
2013-04-09 19:08:41 -07:00 |
|
Jürg Lehni
|
218732e320
|
Implement a row of simple optimizations to increase performance of Item constructors.
|
2013-04-07 17:36:09 -07:00 |
|
Jürg Lehni
|
f43b322d2a
|
Rename Base#_type property to #_class.
|
2013-04-06 09:16:08 +02:00 |
|
Jonathan Puckey
|
b23a4ede56
|
Improve Group documentation.
|
2013-03-16 13:44:58 +01:00 |
|
Jürg Lehni
|
1d1e6425fa
|
Remove all left-overs of call chaining, except for where it's in use.
|
2013-03-05 20:39:07 -08:00 |
|
Jürg Lehni
|
3f5d0a6925
|
Merge constructor._name with _type and use CamelCase for Item types.
|
2013-03-01 17:13:22 -08:00 |
|
Jürg Lehni
|
cef30f9dd1
|
Switch to #pathData for JSON serialization of Path and CompoundPath.
|
2013-02-28 19:41:13 -08:00 |
|
Jürg Lehni
|
119e5acbf9
|
Move #_setProperties() and #set() from Item to Base, rename it to #_set and use it for Tool too.
|
2013-02-15 18:28:49 -08:00 |
|
Jürg Lehni
|
d3ccec2256
|
Use the code from Group#isEmpty() and CompoundPath#isEmpty() for Item#isEmpty(), since any item that does not have children overrides it.
|
2013-02-15 18:01:23 -08:00 |
|
Jürg Lehni
|
6c9c16ad3d
|
Update copyright information comments, and year.
|
2013-01-28 18:03:27 -08:00 |
|
Jürg Lehni
|
ae4e5d4be5
|
Rename Item#setProperties() to hidden #_setProperties() and add public Item#set() to use same functionality from outside.
|
2012-12-27 00:52:09 +01:00 |
|
Jürg Lehni
|
3ac039bd66
|
Implement properties object literal initialization for all Item constructors.
|
2012-12-25 22:12:25 +01:00 |
|
Jürg Lehni
|
e9a9066d7f
|
Use group creation without explicit array declaration, as that's been supported all along.
|
2012-11-06 20:37:50 -08:00 |
|
Jonathan Puckey
|
bda7c71fcb
|
Fix problem when calling new Group([]).
|
2012-11-06 18:07:51 +01:00 |
|
Jürg Lehni
|
35568c15f2
|
Implement transparent constant-substitution in prepro.js to shave of some extra bytes of final distribution file.
|
2012-11-05 18:11:44 -08:00 |
|
Jürg Lehni
|
61531949b0
|
Rework horizontal / vertical lineto command code a bit.
|
2012-11-05 08:54:10 -08:00 |
|
Jürg Lehni
|
19d145f281
|
Introduce Item#type, returning a simple item type string identifier.
|
2012-11-03 23:43:18 -07:00 |
|
Jürg Lehni
|
e17e94b50b
|
Implement Item#isEmpty() for the various types.
And use it to tell #getBounds() when to ignore items.
|
2012-10-10 20:11:11 -07:00 |
|
Jonathan Puckey
|
2fff5b4f79
|
Group: fix clipping. Fixes #66
|
2012-03-02 11:54:11 +01:00 |
|
Jürg Lehni
|
79c0ad8cc5
|
Update copyright notices.
|
2011-07-01 12:17:45 +02:00 |
|
Richard D. Worth
|
ac39873693
|
Whitespace. Removed all trailing whitespace from .js files
|
2011-06-30 06:01:51 -04:00 |
|
Jürg Lehni
|
7cd749e63d
|
Change all documentation to new convention of defining @class outside injection scope, fix some comments and a few errors with examples.
|
2011-06-22 23:56:05 +01:00 |
|
Jürg Lehni
|
7a90f9260e
|
Have subclasses of Item call the base version of _changed().
|
2011-06-19 22:40:49 +01:00 |
|
Jürg Lehni
|
a50f6a23ac
|
Add comment.
|
2011-06-19 22:36:41 +01:00 |
|
Jürg Lehni
|
2b63aefc09
|
Add ChangeFlag.CLIPPING and use it for proper clip mask caching in Group.
|
2011-06-19 22:36:04 +01:00 |
|
Jürg Lehni
|
f0bc3f115b
|
Have all visual changes include ChangeFlags.APPEARANCE.
|
2011-06-19 22:20:28 +01:00 |
|
Jürg Lehni
|
bfe229ae14
|
Use #addChildren() instead of #setChildren() in Group constructor.
|
2011-06-19 22:05:31 +01:00 |
|
Jürg Lehni
|
2594a41b7d
|
Remove the mention of optional parameters in documentation, as they are marked optional already.
|
2011-06-19 21:52:52 +01:00 |
|
Jürg Lehni
|
1e436b2980
|
Use typed array in documentation.
|
2011-06-19 21:50:10 +01:00 |
|
Jürg Lehni
|
3226147e00
|
Use a version of Bootstrap that always produces beans and remove all beans: true instructions.
|
2011-06-17 18:42:29 +01:00 |
|
Jürg Lehni
|
6f4a9d5c7b
|
Merge branch 'master' of github.com:scriptographer/paper.js
Conflicts:
test/tests/Item.js
|
2011-06-17 16:36:58 +01:00 |
|
Jonathan Puckey
|
ea9c9353e3
|
Merge branch 'master' of https://github.com/scriptographer/paper.js
|
2011-06-17 16:59:42 +02:00 |
|
Jonathan Puckey
|
6fc08c6417
|
Item: implement #addChild(item), #insertChild(index, item), #insertAbove(item) and #insertBelow(item) Deprecate: #moveAbove, #moveBelow, #appendTop, #appendBottom.
|
2011-06-17 16:58:41 +02:00 |
|
Jürg Lehni
|
503a031bdf
|
Allow CompoundPath to have named children.
|
2011-06-17 14:11:37 +01:00 |
|
Jürg Lehni
|
87df7eb1f9
|
Change handling of clipping by always drawing clip-masks first, no matter where they are in the sequence.
|
2011-06-17 14:05:37 +01:00 |
|
Jürg Lehni
|
f4d15200ee
|
Remove Group#_clipped and solely use Item#_clipMask to handle clipping internally.
|
2011-06-17 13:56:02 +01:00 |
|
Jürg Lehni
|
ffa79f4fd1
|
Clean up white spaces in comments.
|
2011-06-14 22:59:45 +01:00 |
|
Jonathan Puckey
|
41feaebb4e
|
Fix Group clipping and ignore Item#clipMask in the documentation for now.
|
2011-06-14 12:15:46 +02:00 |
|
Jürg Lehni
|
e5290c3f47
|
More work on Path#draw().
|
2011-06-04 15:28:06 +01:00 |
|
Jonathan Puckey
|
e273a048cd
|
Group docs: change the height of the constructor example.
|
2011-06-03 18:44:22 +02:00 |
|
Jonathan Puckey
|
e9260562f2
|
Improve Group example code.
|
2011-06-03 14:25:25 +02:00 |
|
Jonathan Puckey
|
2b8f1b71ec
|
Documentation: use inline code tags for boolean and number values,
|
2011-05-31 14:28:42 +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 |
|
Jonathan Puckey
|
1520cad144
|
Documentation: capitalize basic types in @ tags.
|
2011-05-27 21:21:49 +02:00 |
|
Jonathan Puckey
|
c4f53cf297
|
Group documentation.
|
2011-05-23 13:37:13 +02: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
|
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 |
|
Jonathan Puckey
|
d998cd30f3
|
Add support for accessing items by name through their parent's children list.
|
2011-05-15 19:12:27 +02:00 |
|