#include <MathLine.h>
Inheritance diagram for mcDoubleBufferedElement:
Definition at line 85 of file MathLine.h.
Public Member Functions | |
mcDoubleBufferedElement () | |
virtual | ~mcDoubleBufferedElement () |
Double buffering functions | |
The functions which handle double buffering system for better GUI performances. | |
virtual int | gui_UpdateBmp (int x, int y, long flags, const wxPoint &p)=0 |
Updates the bitmap in the mcMathLineHelpers structure, calling the mcMathMng::gui_Draw function. | |
virtual int | gui_DrawBmp (wxDC &dc, int x, int y) const =0 |
Draws this line on the given DC using the bitmap. | |
virtual int | gui_ForceBmpUpdate (int x, int y, long flags, const wxPoint &p)=0 |
Forces the update of the internal bitmap used for double buffering. | |
virtual bool | gui_NeedsRefresh () const =0 |
Returns TRUE if with the last call to gui_UpdateBmp or gui_ForceBmpUpdate, a redraw is required to keep the output up to date. | |
virtual void | gui_SetMask (const wxColour &)=0 |
Sets the given colour as the mask which will be used when blitting the bitmap in the given DC in a gui_DrawBmp call. | |
virtual void | gui_SetBmpBackgroundBrush (const wxBrush &)=0 |
Sets the background colour to use to clear the bitmap before each redrawing... |
|
Definition at line 88 of file MathLine.h. |
|
Definition at line 89 of file MathLine.h. |
|
Draws this line on the given DC using the bitmap.
Implemented in mcMathLineHelpers, and mcMathSystemHelpers. Referenced by mcMathSystemHelpers::gui_DrawBmp(). |
|
Forces the update of the internal bitmap used for double buffering. All the parameters are the same of the gui_UpdateBmp function. Implemented in mcMathLineHelpers, and mcMathSystemHelpers. Referenced by mcMathSystemHelpers::gui_ForceBmpUpdate(). |
|
Returns TRUE if with the last call to gui_UpdateBmp or gui_ForceBmpUpdate, a redraw is required to keep the output up to date.
Implemented in mcMathLineHelpers, and mcMathSystemHelpers. Referenced by mcMathSystemHelpers::gui_NeedsRefresh(). |
|
Sets the background colour to use to clear the bitmap before each redrawing... the typical value is *wxWHITE_BRUSH. Implemented in mcMathLineHelpers, and mcMathSystemHelpers. Referenced by mcMathSystemHelpers::gui_SetBmpBackgroundBrush(). |
|
Sets the given colour as the mask which will be used when blitting the bitmap in the given DC in a gui_DrawBmp call.
Implemented in mcMathLineHelpers, and mcMathSystemHelpers. Referenced by mcMathSystemHelpers::gui_SetMask(). |
|
Updates the bitmap in the mcMathLineHelpers structure, calling the mcMathMng::gui_Draw function.
Implemented in mcMathLineHelpers, and mcMathSystemHelpers. Referenced by mcMathSystemHelpers::gui_UpdateBmp(). |
[ Top ] |