esvg::Text Class Reference
Inheritance diagram for esvg::Text:
esvg::Base

Public Member Functions

 Text (PaintState _parentPaintState)
 
bool parse (const exml::Element &_element, mat2 &_parentTrans, vec2 &_sizeMax)
 
void display (int32_t _spacing) override
 
- Public Member Functions inherited from esvg::Base
 Base (PaintState _parentPaintState)
 
virtual bool parseXML (const exml::Element &_element, mat2 &_parentTrans, vec2 &_sizeMax)
 
virtual void draw (esvg::Renderer &_myRenderer, mat2 &_basicTrans, int32_t _level=1)
 
virtual void drawShapePoints (std::vector< std::vector< vec2 >> &_out, int32_t _recurtionMax, float _threshold, mat2 &_basicTrans, int32_t _level=1)
 
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::distanceparseLength2 (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
 

The documentation for this class was generated from the following file:
  • framework/atria-soft/esvg/esvg/Text.hpp