/** * @author Edouard DUPIN * * @copyright 2011, Edouard DUPIN, all right reserved * * @license BSD v3 (see license file) */ #ifndef __SVG_RECTANGLE_H__ #define __SVG_RECTANGLE_H__ #include namespace svg { class Rectangle : public svg::Base { private: etk::Vector2D m_position; //!< position of the rectangle etk::Vector2D m_size; //!< size of the rectangle etk::Vector2D m_roundedCorner; //!< property of the rounded corner public: Rectangle(PaintState _parentPaintState); ~Rectangle(void); virtual bool Parse(exml::Element * _element, agg::trans_affine& _parentTrans, etk::Vector2D& _sizeMax); virtual void Display(int32_t _spacing); virtual void AggDraw(svg::Renderer& _myRenderer, agg::trans_affine& _basicTrans); }; }; #endif