Home | Trees | Index | Help |
|
---|
Module wxmpl :: Class RubberbandPainter |
|
DestructableViewMixin
--+ |Painter
--+ | RubberbandPainter
Method Summary | |
---|---|
Clears the selection rubberband around the rectangle (x1, y1,
x2, y2) . | |
Draws the selection rubberband around the rectangle (x1, y1, x2,
y2) . | |
Converts the (x1, y1, x2, y2) mouse coordinates from
matplotlib to wxPython. | |
Inherited from Painter | |
Create a new painter attached to the wxPython window view . | |
Draws a previously processed value on this painter's
window. | |
Clear the painter's current value from the screen and the painter itself. | |
Redraw this painter's current value. | |
Update this painter's value and then draw it. | |
Enable or disable this painter. | |
Inherited from DestructableViewMixin | |
Sets this object's view attribute to
None . |
Class Variable Summary | |
---|---|
int |
FUNCTION : Logical function to use (defaults to wx.COPY ) |
wxPenPtr |
PEN : wx.Pen to use (defaults to wx.BLACK_PEN ) |
Inherited from Painter | |
wxBrushPtr |
BRUSH : wx.Brush to use (defaults to
wx.TRANSPARENT_BRUSH ) |
wxFontPtr |
FONT : wx.Font to use (defaults to
wx.NORMAL_FONT ) |
wxColourPtr |
TEXT_BACKGROUND : wx.Colour to use (defaults to wx.WHITE ) |
wxColourPtr |
TEXT_FOREGROUND : wx.Colour to use (defaults to wx.BLACK ) |
Method Details |
---|
clearValue(self, dc, value)Clears the selection rubberband around the rectangle(x1, y1,
x2, y2) .
|
drawValue(self, dc, value)Draws the selection rubberband around the rectangle(x1, y1,
x2, y2) .
|
formatValue(self, value)Converts the(x1, y1, x2, y2) mouse coordinates from
matplotlib to wxPython.
|
Class Variable Details |
---|
FUNCTIONLogical function to use (defaults towx.COPY )
|
PENwx.Pen to use (defaults to wx.BLACK_PEN )
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Aug 28 13:47:50 2006 | http://epydoc.sf.net |