7#ifndef MYGUI_POLYGONAL_SKIN_H_
8#define MYGUI_POLYGONAL_SKIN_H_
27 void setPoints(
const std::vector<FloatPoint>& _points);
35 void setAlpha(
float _alpha)
override;
64 bool mGeometryOutdated{
false};
66 float mLineWidth{1.0f};
67 size_t mLineStroke{0};
68 std::vector<FloatPoint> mLinePoints;
69 float mLineLength{0.0f};
71 std::vector<FloatPoint> mResultVerticiesPos;
72 std::vector<FloatPoint> mResultVerticiesUV;
74 size_t mVertexCount{VertexQuad::VertexCount};
76 bool mEmptyView{
false};
78 VertexColourType mVertexFormat;
79 uint32 mCurrentColour{0xFFFFFFFF};
84 ILayerNode* mNode{
nullptr};
85 RenderItem* mRenderItem{
nullptr};
#define MYGUI_RTTI_DERIVED(DerivedType)
FloatPoint _getMiddleLine(const FloatPoint &_point1, const FloatPoint &_point2, const FloatPoint &_point3) const
void _correctView() override
void destroyDrawItem() override
void createDrawItem(ITexture *_texture, ILayerNode *_node) override
void _setAlign(const IntSize &_oldsize) override
FloatPoint _getPerpendicular(const FloatPoint &_point1, const FloatPoint &_point2) const
void setPoints(const std::vector< FloatPoint > &_points)
void setStateData(IStateInfo *_data) override
void setVisible(bool _visible) override
void setAlpha(float _alpha) override
void _setUVSet(const FloatRect &_rect) override
void setWidth(float _width)
void _updateView() override
void _setColour(const Colour &_value) override
void setStroke(size_t _value)
types::TRect< float > FloatRect
types::TPoint< float > FloatPoint
types::TCoord< int > IntCoord
types::TSize< int > IntSize