|
QPointF | m_brushOrigin |
|
QFont | m_font |
|
QPen | m_pen |
|
QBrush | m_brush |
|
QBrush | m_bgBrush |
|
QRegion | m_clipRegion |
|
QPainterPath | m_clipPath |
|
ClipOperation | m_clipOperation |
|
std::vector< CPainterClipInfo > | m_clipInfo |
|
QTransform | worldMatrix |
|
QTransform | m_matrix |
|
Matrix4 | matComplete |
| final complete transform
|
|
int | m_viewportX |
|
int | m_viewportY |
|
int | m_viewportWidth |
|
int | m_viewportHeight |
|
float | m_fViewportLeft |
|
float | m_fViewportTop |
|
float | m_fUIScalingX |
|
float | m_fUIScalingY |
|
float | m_opacity |
|
bool | WxF: 1 |
|
bool | VxF: 1 |
|
bool | m_clipEnabled: 1 |
|
int | m_nPendingAssetCount |
| number of texture that is being loaded, but not available at the time of drawing. More...
|
|
CPainter * | m_painter |
|
CPainter::CompositionMode | m_composition_mode |
|
uint32 | changeFlags |
|
|
uint32 | dirtyFlags |
| type of CPaintEngine::DirtyFlags
|
|
§ AddPendingAsset()
void ParaEngine::CPainterState::AddPendingAsset |
( |
int |
nCount = 1 | ) |
|
number of texture that is being loaded, but not available at the time of drawing.
we generally make the paint device dirty if there is painted with at least one pending asset.
§ CalculateDeviceMatrix()
void ParaEngine::CPainterState::CalculateDeviceMatrix |
( |
Matrix4 * |
pOut, |
|
|
const Matrix4 * |
pIn = NULL |
|
) |
| |
calculate device matrix based on given matrix
- Parameters
-
pIn | if NULL, it will be current transform. |
§ color()
Color ParaEngine::CPainterState::color |
( |
| ) |
|
get the current pen color multiplied by current opacity.
§ SetSpriteTransform()
void ParaEngine::CPainterState::SetSpriteTransform |
( |
const Matrix4 * |
pMatrix = NULL | ) |
|
|
virtual |
§ SetSpriteUseWorldMatrix()
virtual void ParaEngine::CPainterState::SetSpriteUseWorldMatrix |
( |
bool |
bEnable | ) |
|
|
inlinevirtual |
§ m_nPendingAssetCount
int ParaEngine::CPainterState::m_nPendingAssetCount |
number of texture that is being loaded, but not available at the time of drawing.
we generally make the paint device dirty if there is painted with at least one pending asset.
The documentation for this class was generated from the following files:
- Client/trunk/ParaEngineClient/PaintEngine/PainterState.h
- Client/trunk/ParaEngineClient/PaintEngine/PainterState.cpp