2
2
MEP9: Global interaction manager
3
3
==================================
4
4
5
+ .. contents ::
6
+ :local:
7
+
5
8
Add a global manager for all user interactivity with artists; make any
6
9
artist resizeable, moveable, highlightable, and selectable as desired
7
10
by the user.
@@ -80,11 +83,11 @@ Implementation
80
83
interactivity manager has a consistent interface for the
81
84
interactivity manager to deal with. The proposed methods to add to
82
85
the artists, if they are to support interactivity, are:
83
- * get_pixel_position_ll(self): get the pixel position of the lower
86
+ * get_pixel_position_ll(self): get the pixel position of the lower
84
87
left corner of the artist's bounding box
85
- * get_pixel_size(self): get the size of the artist's bounding box,
88
+ * get_pixel_size(self): get the size of the artist's bounding box,
86
89
in pixels
87
- * set_pixel_position_and_size(self,x,y,dx,dy): set the new size of
90
+ * set_pixel_position_and_size(self,x,y,dx,dy): set the new size of
88
91
the artist, such that it fits within the specified bounding box.
89
92
* add capability to the backends to 1) provide cursors, since these
90
93
are needed for visual indication of moving/resizing, and 2) provide
0 commit comments