esvg::Circle Class Reference
Inheritance diagram for esvg::Circle:
Public Member Functions | |
Circle (PaintState _parentPaintState) | |
bool | parseXML (const exml::Element &_element, mat2 &_parentTrans, vec2 &_sizeMax) override |
void | display (int32_t _spacing) override |
void | draw (esvg::Renderer &_myRenderer, mat2 &_basicTrans, int32_t _level) override |
void | drawShapePoints (std::vector< std::vector< vec2 >> &_out, int32_t _recurtionMax, float _threshold, mat2 &_basicTrans, int32_t _level=1) override |
Public Member Functions inherited from esvg::Base | |
Base (PaintState _parentPaintState) | |
void | parseTransform (const exml::Element &_element) |
void | parsePosition (const exml::Element &_element, vec2 &_pos, vec2 &_size) |
float | parseLength (const std::string &_dataInput) |
std::pair< float, enum esvg::distance > | parseLength2 (const std::string &_dataInput) |
void | parsePaintAttr (const exml::Element &_element) |
std::pair< etk::Color< float, 4 >, std::string > | parseColor (const std::string &_inputData) |
const std::string & | getId () const |
void | setId (const std::string &_newId) |
Additional Inherited Members | |
Protected Member Functions inherited from esvg::Base | |
const char * | spacingDist (int32_t _spacing) |
Protected Attributes inherited from esvg::Base | |
PaintState | m_paint |
mat2 | m_transformMatrix |
std::string | m_id |
Member Function Documentation
§ draw()
|
overridevirtual |
Draw the form in the renderer.
- Parameters
-
[in] _myRenderer Renderer engine [in] _basicTrans Parant transformation of the environement [in] _level Level of the tree
Reimplemented from esvg::Base.
§ drawShapePoints()
|
overridevirtual |
Draw rhe shape with all points.
- Parameters
-
[in] _out where the lines are added [in] _recurtionMax interpolation recurtion max [in] _threshold threshold to stop recurtion [in] _basicTrans Parant transformation of the environement [in] _level Level of the tree
Reimplemented from esvg::Base.
§ parseXML()
|
overridevirtual |
parse all the element needed in the basic node
- Parameters
-
[in] _element standart XML node
- Returns
- true if no problem arrived
Reimplemented from esvg::Base.
The documentation for this class was generated from the following file:
- framework/atria-soft/esvg/esvg/Circle.hpp