#include <IMG_CanvasRGBA32Action.h>
Inheritance diagram for IMG_CanvasRGBA32Action:
Public Methods | |
IMG_CanvasRGBA32Action (GEN_String &name,IMG_CanvasRGBA32 *canvas,IMG_PixmapRGBA32 *undoPixmap,IMG_Rect &undoBnds) | |
Constructor. More... | |
void | setDirtyHackImagePointer (void *dirtyHackImagePointer) |
Dirty hack to store the Blender image. More... | |
void* | getDirtyHackImagePointer () |
Dirty hack to return the Blender image. More... | |
Protected Methods | |
virtual | ~IMG_CanvasRGBA32Action () |
Destructor. More... | |
virtual void | doApply () |
Apply the action on the canvas. More... | |
virtual void | doUndo () |
Implementations should overload this method to provide the undo functionality. | |
Protected Attributes | |
IMG_CanvasRGBA32* | m_canvas |
The image on which the action should be applied (or undone). | |
IMG_PixmapRGBA32* | m_undoPixmap |
The pixels that are pasted to undo the action. | |
IMG_PixmapRGBA32* | m_redoPixmap |
The pixels that are pasted to redo the action. | |
IMG_Rect | m_canvasBnds |
The area in the image that is affected by this action. | |
IMG_Rect | m_undoBnds |
The bounds of the undo and redo pixmaps. | |
void* | m_dirtyHackImagePointer |
Storage for dirty hack image data needed temporarily for Blender. |
|
Constructor.
|
|
Destructor. The destructor is protected because actions should be deleted by decrementing the reference count. |
|
Apply the action on the canvas. Overloaded. |
|
Dirty hack to return the Blender image.
|
|
Dirty hack to store the Blender image.
|