26 void setAngle(
float _angle);
28 float getAngle()
const;
33 void setCenter(
const IntPoint& _center);
35 IntPoint getCenter(
bool _local =
true)
const;
37 void setAlpha(
float _alpha)
override;
39 void setVisible(
bool _visible)
override;
44 void destroyDrawItem()
override;
47 void doRender()
override;
50 void _updateView()
override;
51 void _correctView()
override;
53 void _setAlign(
const IntSize& _oldsize)
override;
55 void _setUVSet(
const FloatRect& _rect)
override;
56 void _setColour(
const Colour& _value)
override;
59 void _rebuildGeometry();
62 bool mGeometryOutdated{
false};
69 RECT_VERTICIES_COUNT = 4,
70 GEOMETRY_VERTICIES_TOTAL_COUNT = 8
72 FloatPoint mResultVerticiesPos[GEOMETRY_VERTICIES_TOTAL_COUNT];
73 FloatPoint mResultVerticiesUV[GEOMETRY_VERTICIES_TOTAL_COUNT];
75 bool mEmptyView{
false};
77 VertexColourType mVertexFormat;
78 uint32 mCurrentColour{0xFFFFFFFF};
83 ILayerNode* mNode{
nullptr};
84 RenderItem* mRenderItem{
nullptr};