Public Member Functions

IPainterCanvasInterface_V5_1 Class Reference

Search for all occurrences

Detailed Description

See also:
Class IPainterCanvasInterface_V5
Description:
This is the Max5.1 version of a PainterCanvas. This interface changes how the command mode behaves It adds the ability to send back to the canvas whether to start or end the paint mode This bacially replaces the SystemEndPaintSession and also

#include <IPainterInterface.h>

Inheritance diagram for IPainterCanvasInterface_V5_1:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void  CanvasStartPaint ()=0
  Called on painting start.
virtual void  CanvasEndPaint ()=0
  Called on painting end.

Member Function Documentation

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


IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1
IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1 IPainterCanvasInterface_V5_1