#include <IPainterInterface.h>
Public Member Functions |
|
virtual void | CanvasStartPaint ()=0 |
Called on painting start. |
|
virtual void | CanvasEndPaint ()=0 |
Called on painting end. |
virtual void CanvasStartPaint | ( | ) | [pure virtual] |
Called on painting start.
the painter interface will call this when it wants to start the painter an example of this is when the user scrubs the time slider when in a paint session the system will turn off the paint mode while scrubbing so you will get a CanvasEndPaint then when the user stops scrubbing it will try to turn it back on using CanvasStartPaint. so if you use this interface after you call StartPaintSession() you will imediately get a CanvasStartPaint callback where all your setup code and UI code should be handled
virtual void CanvasEndPaint | ( | ) | [pure virtual] |
Called on painting end.
the painter interface will call this when it wants to stop the painter an example of this is when the user scrubs the time slider when in a paint session the system will turn off the paint mode while scrubbing so you will get a CanvasEndPaint then when the user stops scrubbing it will try to turn it back on using CanvasStartPaint. so if you use this interface after you call StartPaintSession() you will imediately get a CanvasStartPaint callback where all your setup code and UI code should be handled