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 |
|
Jürg Lehni
|
252a3635dc
|
Replace {@true} tags in documentation ({@true ([^}]*)} -> true $1, false otherwise.)
|
2011-05-15 15:06:10 +01:00 |
|
Jürg Lehni
|
2c078d8b17
|
Remove all code blocks and group titles from documentation since we're relying on Scriptographer code and documentation generation (through javadoc) for docs.
|
2011-05-15 15:01:59 +01:00 |
|
Jürg Lehni
|
0bab694a01
|
Rename Item#children to private Item#_children and add #getChildren getter.
|
2011-05-14 18:07:10 +01:00 |
|
Jürg Lehni
|
6083faaf80
|
Use getter instead of beans property.
|
2011-05-07 09:56:27 +01:00 |
|
Jürg Lehni
|
5e4369d800
|
No need to call setter, we can set internal property directly here.
|
2011-05-07 09:55:56 +01:00 |
|
Jürg Lehni
|
a9ea10ca7f
|
Move version of #getBounds() that handles children to Item, to eliminate duplicated code.
|
2011-04-28 10:04:36 +01:00 |
|
Jürg Lehni
|
b5fdecf3d1
|
Rename ObservedRectangle to LinkedRectangle, ObservedPoint to LinkedPoint, and add more comments about what it is they are doing.
|
2011-03-22 17:27:46 +00:00 |
|
Jürg Lehni
|
1267f41559
|
Add beginning of ObservedRectangle support and test it in animatedStar example.
|
2011-03-16 23:32:46 +01:00 |
|
Jürg Lehni
|
6a67052090
|
Update copyright / licensing comments.
|
2011-03-08 01:41:50 +00:00 |
|
Jürg Lehni
|
e1a7aff2f0
|
Add copyright notice and license file.
|
2011-03-07 00:50:44 +00:00 |
|
Jürg Lehni
|
deb78b78cf
|
Define fast Rectangle.create() and use it internally where applicable.
|
2011-03-06 18:45:56 +00:00 |
|
Jürg Lehni
|
162dab66a7
|
Clean up code.
|
2011-03-06 15:15:21 +00:00 |
|
Jürg Lehni
|
c313e702c9
|
Clean up a whole lot of beans access, and in the process of the refactoring improve canvas, context, size and bounds handling in Raster and PlacedSymbol.
|
2011-03-05 01:26:12 +00:00 |
|
Jürg Lehni
|
92bf51a7cc
|
Simplify the way the paper namespace is created and populated.
|
2011-03-04 13:34:31 +00:00 |
|
Jürg Lehni
|
2b6dede883
|
Clean up white-spaces and line lengths.
|
2011-03-03 22:45:17 +00:00 |
|
Jürg Lehni
|
941c3c7346
|
Declare all classes as local variables, so they can be scoped.
|
2011-03-03 13:33:41 +00:00 |
|
Jürg Lehni
|
07fcc000cf
|
Move the new refactored CanvasDraw functionality to static Item.draw() and #draw() instance methods on each prototype.
|
2011-03-03 12:19:43 +00:00 |
|
Jonathan Puckey
|
8ff04b6614
|
Unify canvas drawing commands in CanvasDraw.js and rework compositing code.
|
2011-03-03 02:22:21 +01:00 |
|
Jonathan Puckey
|
0e011dee2a
|
Support DocumentView in Group#draw.
|
2011-02-28 18:35:12 +01:00 |
|
Jonathan Puckey
|
461aa87211
|
Group: add todo.
|
2011-02-26 15:55:58 +01:00 |
|
Jonathan Puckey
|
c9d04d33f8
|
Implement BlendMode class.
|
2011-02-25 12:47:52 +01:00 |
|
Jonathan Puckey
|
c929bacde8
|
Clean up Group#draw and save/restore context state when drawing group with opacity.
|
2011-02-24 01:33:36 +01:00 |
|
Jonathan Puckey
|
357a8af6ec
|
Clean up white spaces.
|
2011-02-21 03:32:39 +01:00 |
|
Jonathan Puckey
|
514fe1f0e6
|
Implement group opacity by drawing onto a second canvas first.
|
2011-02-21 03:22:42 +01:00 |
|
Jonathan Puckey
|
95fa61f1ba
|
Group: remove unneeded ctx commands.
|
2011-02-19 18:10:26 +01:00 |
|
Jonathan Puckey
|
637e85b31b
|
Group: fix clipping.
|
2011-02-17 16:50:06 +01:00 |
|
Jonathan Puckey
|
2a1e00d127
|
Group: Implement clipping support.
|
2011-02-17 16:37:29 +01:00 |
|
Jonathan Puckey
|
deb1699f13
|
Tidy up code.
|
2011-02-17 16:00:03 +01:00 |
|
Jonathan Puckey
|
7e404703c8
|
Add Group#getBounds().
|
2011-02-17 00:34:01 +01:00 |
|
Jonathan Puckey
|
9adb668d2a
|
Group: add missing beans property.
|
2011-02-16 22:06:24 +01:00 |
|
Jonathan Puckey
|
30fef4d147
|
Group: use internal _clipped variable, so we don't collide with getters/setters.
|
2011-02-14 22:51:31 +01:00 |
|
Jürg Lehni
|
08d4826441
|
Reformating code to follow Scriptotgrapher coding conventions.
|
2011-02-13 16:26:24 +00:00 |
|
Jonathan Puckey
|
7fdf439ef2
|
Group: allow passing of array of items to constructor and pass on ctx in draw function. Add tests for Group.
|
2011-02-12 19:12:23 +01:00 |
|
Jonathan Puckey
|
c0e2101c32
|
Clean up src directory and move Bootstrap.js into lib.
|
2011-02-12 17:59:39 +01:00 |
|