Tony S Yu
6c1b969b21
BUG: Fix clean up of canvastools
...
NOTE: The rectangle tool doesn't seem to clean up properly.
2012-12-26 21:39:39 -08:00
Tony S Yu
260984c018
DOC: Add parameters to docstring
2012-12-13 21:11:53 -05:00
Tony S Yu
e98476ea41
ENH: Handle redraw edge case.
...
You can call redraw before the first draw event so that the background never gets saved. In this case, skip blitting so we don't need the background image.
2012-12-13 19:11:08 -05:00
Tony S Yu
1aafdeb7d4
ENH: Overhaul callback system.
...
Remove `on_update` callback and add `on_move` and `on_release` callbacks arguments. Also, prefix callback functions with `callback_` for clarity.
2012-12-13 00:23:30 -05:00
Tony S Yu
36bc6da757
STY: Refactors general parts of line tool to base tool
2012-12-12 23:42:15 -05:00
Tony S Yu
9f70148f08
STY: Minor code clean up
2012-12-12 15:48:45 -05:00
Tony S Yu
866e7d7d60
BUG: Fix blitting behavior
2012-12-12 11:45:02 -05:00
Tony S Yu
0428f821e5
BUG: Fix background update when canvas resized
2012-12-10 21:18:50 -05:00
Tony S Yu
211bba0195
ENH: Default to blitting
...
Since the Qt4 Agg backend is always used, it's always safe to use blitting.
2012-12-09 21:11:06 -05:00
Tony S Yu
9d653fec78
BUG: Clean up imports
2012-11-15 23:53:47 -05:00
Tony S Yu
0d411e21dc
STY: Refactor parts of LineTool to CanvasToolBase
2012-11-15 22:04:02 -05:00
Tony S Yu
d219a76f58
BUG: Fix blitting behavior in canvastools
2012-11-15 21:56:51 -05:00
Tony S Yu
4f6f25efe9
ENH: Add canvastools subpckages with base class and line tools
2012-11-15 00:16:19 -05:00