Implements the drawing, mouse handling and sizing routines for the alpha channel control.
__init__ | Default class constructor. |
DrawAlphaShading | Draws the alpha shading on top of the checkerboard. |
DrawMarkers | Draws square markers used with mouse gestures. |
OnPaint | Handles the wx.EVT_PAINT for AlphaCtrl. |
TrackPoint | Tracks a mouse action inside the Alpha channel control. |
Implements the drawing, mouse handling and sizing routines for the alpha channel control.
Default class constructor. Used internally. Do not call it in your code!
Parameters: | parent – the control parent window. |
---|
Draws square markers used with mouse gestures.
Parameters: | dc – an instance of wx.DC. |
---|
Handles the wx.EVT_PAINT for AlphaCtrl.
Parameters: | event – a wx.PaintEvent event to be processed. |
---|