Jürg Lehni
|
ea87be166e
|
Part one of big refactoring of bouding box handling. Functional, but caching is broken right now.
|
2011-11-24 15:13:21 +01:00 |
|
Jürg Lehni
|
ee23f64642
|
We cannot use PaperScript extensions in tests.
|
2011-11-24 14:54:30 +01:00 |
|
Jürg Lehni
|
d9777111dc
|
No need for an injection scope as we can also just use Base.each() in combination with a side-car.
|
2011-11-24 14:54:04 +01:00 |
|
Jürg Lehni
|
b96cd4e1c8
|
Add comments about possible optimization of accessing of style properties.
|
2011-11-24 14:53:38 +01:00 |
|
Jürg Lehni
|
1d6cfeeb9b
|
Add dest and dontNotifty arguments to Matrix#_transformBounds() and use them where appropriate.
|
2011-11-24 11:29:35 +01:00 |
|
Jürg Lehni
|
3f5e68aa76
|
Document the private getPendPadding() function.
|
2011-11-24 10:21:12 +01:00 |
|
Jürg Lehni
|
29aaf38320
|
Improve comments.
|
2011-11-24 10:17:31 +01:00 |
|
Jürg Lehni
|
8a53288b1e
|
Add comment about upcoming changes relating to bounds.
|
2011-11-23 18:13:21 +01:00 |
|
Jürg Lehni
|
cd1810e6a3
|
Fix arguments check in Path#getHandleBounds().
|
2011-11-23 18:13:05 +01:00 |
|
Jürg Lehni
|
11f298c994
|
Start adding support for PointText#bounds and multi-line text, work in progress.
|
2011-11-23 18:12:41 +01:00 |
|
Jürg Lehni
|
eb70c4de5d
|
Directly pass matrix argument to _getBounds() instead of whole arguments array.
|
2011-11-20 18:51:34 +01:00 |
|
Jürg Lehni
|
75072bde4f
|
Directly access project.view.
|
2011-11-18 20:33:27 +01:00 |
|
Jürg Lehni
|
44291fe33b
|
Support injecting multiple object parameters into Style classes.
|
2011-11-18 20:08:54 +01:00 |
|
Jürg Lehni
|
4106cc3621
|
Fix prepro.js for Opera by avoiding 'self' as variable name.
|
2011-11-18 20:08:17 +01:00 |
|
Jürg Lehni
|
5f0da04daf
|
Add empty line at file end.
|
2011-11-18 19:54:16 +01:00 |
|
Jürg Lehni
|
b9f6c99dcd
|
Add comments and clean up code.
|
2011-11-17 19:28:05 +01:00 |
|
Jürg Lehni
|
427cc21b3a
|
Fix a comment.
|
2011-11-17 00:06:21 +01:00 |
|
Jürg Lehni
|
1b484a2f7b
|
Implement MouseEvent#delta for Item#onMouseDrag and #onMouseMove.
|
2011-11-17 00:04:30 +01:00 |
|
Jürg Lehni
|
cf54b1a7c1
|
Change parameter sequence in mouse event code.
|
2011-11-16 23:47:51 +01:00 |
|
Jürg Lehni
|
9061daa935
|
Simplify event handling code.
|
2011-11-16 23:41:47 +01:00 |
|
Jürg Lehni
|
80d3763c39
|
Implement Item#onMouseDrag evnets, and have them silence #onMouseMove events if both are present.
|
2011-11-16 23:30:14 +01:00 |
|
Jürg Lehni
|
d066ad775d
|
Implement Item#onClick and #onDoubleClick.
|
2011-11-16 23:18:27 +01:00 |
|
Jürg Lehni
|
b3bf57c8e9
|
Implement Item#onMouseEnter / #onMouseLeave.
|
2011-11-16 22:59:39 +01:00 |
|
Jürg Lehni
|
c0e6d5b2ee
|
Remove unused injection scopes.
|
2011-11-16 22:54:03 +01:00 |
|
Jürg Lehni
|
44bf596e51
|
Finish implementing Item#onMouseMove and clean up code.
|
2011-11-16 22:48:38 +01:00 |
|
Jürg Lehni
|
8efc7ce7cd
|
Implement Item#onMouseUp events and work on #onMouseMove.
|
2011-11-16 22:41:22 +01:00 |
|
Jürg Lehni
|
57bd659023
|
Move Item base mouse handling code to CanvasView.
|
2011-11-16 13:12:41 +01:00 |
|
Jürg Lehni
|
577c884a70
|
Prepend non-public Tool methods with '_'.
|
2011-11-16 13:10:39 +01:00 |
|
Jürg Lehni
|
1eff9741a4
|
Separate Canvas related code from View into CanvasView class.
|
2011-11-14 20:18:08 +01:00 |
|
Jürg Lehni
|
c85f0326c3
|
Simplify installling of mouse handlers in View.
|
2011-11-14 13:32:03 +01:00 |
|
Jürg Lehni
|
acbebc2aa4
|
Remove #idleInterval left-overs.
|
2011-11-13 00:09:09 +01:00 |
|
Jürg Lehni
|
fcd92c4ac1
|
Fix updateFocus() documentation.
|
2011-11-13 00:05:28 +01:00 |
|
Jürg Lehni
|
c8e1a9c959
|
Merge remote-tracking branch 'origin/master'
|
2011-11-12 23:57:39 +01:00 |
|
Jürg Lehni
|
e4586cfeeb
|
Commit beginning of item based mouse events. So far only onMousedown / 'mousedown' is supported.
|
2011-11-12 23:57:25 +01:00 |
|
Jürg Lehni
|
18d44689fa
|
Fix white-space in code example.
|
2011-11-12 23:56:25 +01:00 |
|
Jürg Lehni
|
36846d6e38
|
Remove code from previous commit again.
|
2011-11-12 19:52:36 +01:00 |
|
Jürg Lehni
|
d89d7f1ef7
|
Commit temporary support for attach() and detach() handler on event entries, to be removed again.
|
2011-11-12 19:51:51 +01:00 |
|
Jürg Lehni
|
4ba752d42a
|
Add note and TODO about Path#contains() only working correctly for no-zero winding rule, which is not used by Canvas...
|
2011-11-12 19:49:12 +01:00 |
|
Jürg Lehni
|
ddf7c6534b
|
Fix Path#hitTest() to only consider strokeWidth if a strokeColor is provided too.
|
2011-11-12 19:48:39 +01:00 |
|
Jonathan Puckey
|
52385451f6
|
Resolve a few documentation todos.
|
2011-11-12 18:30:21 +01:00 |
|
Jürg Lehni
|
6e5a81f907
|
Fix white-spaces in documentation.
|
2011-11-12 18:26:15 +01:00 |
|
Jürg Lehni
|
c33998c140
|
Remove support for Tool#eventInterval.
|
2011-11-12 18:26:03 +01:00 |
|
Jürg Lehni
|
52ad906c97
|
Add support for onFrame handlers on Item.
|
2011-11-12 17:44:05 +01:00 |
|
Jürg Lehni
|
d9ba90ea2d
|
Remove white space.
|
2011-11-12 17:15:04 +01:00 |
|
Jürg Lehni
|
8eaddc759e
|
Fix code sequence when attaching and detaching event handlers.
|
2011-11-12 17:14:49 +01:00 |
|
Jürg Lehni
|
da5a837da2
|
Merge remote-tracking branch 'origin/master'
|
2011-11-12 16:56:35 +01:00 |
|
Jürg Lehni
|
719ae2315c
|
Remove global views list, link View to Project and allow projects to only have one view.
|
2011-11-12 16:56:23 +01:00 |
|
Jonathan Puckey
|
3ac171a304
|
Path#smooth() example: select path using fullySelected instead of selected, so we can see its handles.
|
2011-11-12 16:45:33 +01:00 |
|
Jonathan Puckey
|
d631288dc7
|
Fire resize event directly after evaluation, so we don't need to call onResize ourselves from PaperScript.
|
2011-11-12 16:31:22 +01:00 |
|
Jürg Lehni
|
ea689faa43
|
Fix white space.
|
2011-11-12 15:50:53 +01:00 |
|