HDK
|
#include <RE_WindowDrawable.h>
Public Member Functions | |
RE_AutoPaintStateBlock (RE_Render *r) | |
~RE_AutoPaintStateBlock () | |
RE_AutoPaintStateBlock & | operator= (const RE_AutoPaintStateBlock &src)=delete |
RE_WindowDrawablePaintState * | paintState () |
Return the underlying paint state. More... | |
RE_WindowDrawablePainter * | painter () const |
Convenience method to access the paint state's painter. More... | |
const UT_DimRect & | paintArea () const |
Convenience method to access the paint state's paint area. More... | |
void | toPainterPosition (int &x, int &y, int w=0, int h=0) const |
void | toUIPosition (int &x, int &y, int w=0, int h=0) const |
Construct at the beginning of a painting code block to switch to QPainter painting mode. If there is no active paint state, then begin a new paint session to create an active paint state.
Definition at line 146 of file RE_WindowDrawable.h.
RE_AutoPaintStateBlock::RE_AutoPaintStateBlock | ( | RE_Render * | r | ) |
RE_AutoPaintStateBlock::~RE_AutoPaintStateBlock | ( | ) |
|
delete |
|
inline |
Convenience method to access the paint state's paint area.
Definition at line 164 of file RE_WindowDrawable.h.
|
inline |
Convenience method to access the paint state's painter.
Definition at line 160 of file RE_WindowDrawable.h.
|
inline |
Return the underlying paint state.
Definition at line 156 of file RE_WindowDrawable.h.
|
inline |
Convenience method to call the paint state's toPainterPosition() method.
Definition at line 169 of file RE_WindowDrawable.h.
Convenience method to call the paint state's toUIPosition() method.
Definition at line 174 of file RE_WindowDrawable.h.