|
| tVoid | ApplyMatrix (const ucom::ant::iobject_ptr< graphicslib::dengar::ICanvas > &pCanvas) |
| | This method is called before Drawing.
|
| |
| tVoid | SetMatrix (tFloat32 fTransX, tFloat32 fTransY, tFloat32 fScaleX, tFloat32 fScaleY, tFloat32 fRotate) |
| | SetMatrix sets all parameter for the matrix to use in ApplyMatrix() Draw() don't need them because the matrix is applied before Draw() is called.
|
| |
Definition at line 34 of file drawer.h.
◆ cDrawerImplementation()
◆ ApplyMatrix()
This method is called before Drawing.
The purpose is to pass the matrix over to OpenGL, so that all further drawings will be scaled, rotated and moved like described.
- Parameters
-
| pCanvas | [in/out] Pointer to the current Canvas object |
Definition at line 139 of file drawer.h.
◆ ClearChildren()
◆ GetZOrderImpl()
| tInt GetZOrderImpl |
( |
| ) |
const |
|
inlineprotected |
The ZOrder defines the order of drawing the objects, if there are in the same coordinate space level.
- Returns
- the current ZOrder value
Definition at line 59 of file drawer.h.
Referenced by cDrawer::GetZOrder().
◆ IsVisibleImpl()
| tBool IsVisibleImpl |
( |
| ) |
const |
|
inlineprotected |
IsVisible() is not the same as IsActive()!
If a drawer is invisible all Handlers will be called except the Draw method.
- Returns
- tTrue, if the drawer is visibel otherwise tFalse
Definition at line 69 of file drawer.h.
Referenced by cDrawer::IsVisible().
◆ LogDrawerError()
◆ OnDrawImpl()
◆ Register()
◆ SetMatrix()
| tVoid SetMatrix |
( |
tFloat32 | fTransX, |
|
|
tFloat32 | fTransY, |
|
|
tFloat32 | fScaleX, |
|
|
tFloat32 | fScaleY, |
|
|
tFloat32 | fRotate ) |
|
inline |
SetMatrix sets all parameter for the matrix to use in ApplyMatrix() Draw() don't need them because the matrix is applied before Draw() is called.
- Parameters
-
| fTransX | [in] Translation in x direction |
| fTransY | [in] Translation in y direction |
| fScaleX | [in] Scaling in x direction |
| fScaleY | [in] Scaling in y direction |
| fRotate | [in] Rotation angle in degrees (CCW) |
Definition at line 156 of file drawer.h.
Referenced by cDrawer::cDrawer().
◆ m_bVisible
| base::property_variable<tBool> m_bVisible |
|
protected |
◆ m_fRotate
| base::property_variable<tFloat32> m_fRotate {0.0} |
|
protected |
◆ m_fScaleX
| base::property_variable<tFloat32> m_fScaleX {0.0} |
|
protected |
◆ m_fScaleY
| base::property_variable<tFloat32> m_fScaleY {0.0} |
|
protected |
◆ m_fTransX
| base::property_variable<tFloat32> m_fTransX {0.0} |
|
protected |
◆ m_fTransY
| base::property_variable<tFloat32> m_fTransY {0.0} |
|
protected |
◆ m_nZOrder
| base::property_variable<tInt> m_nZOrder |
|
protected |
◆ m_pBindingClient
| ucom::ant::object_ptr<streaming::IBindingObject> m_pBindingClient |
|
protected |
◆ m_pDrawerManager