41 std::pair<etk::Color<float,4>, std::string> fill;
42 std::pair<etk::Color<float,4>, std::string> stroke;
45 enum esvg::cap lineCap;
46 enum esvg::join lineJoin;
56 const char * spacingDist(int32_t _spacing);
82 virtual void drawShapePoints(std::vector<std::vector<vec2>>& _out,
83 int32_t _recurtionMax,
88 virtual void display(int32_t _spacing) { };
102 float parseLength(
const std::string& _dataInput);
103 std::pair<float, enum esvg::distance> parseLength2(
const std::string& _dataInput);
114 std::pair<etk::Color<float,4>, std::string> parseColor(
const std::string& _inputData);
122 const std::string& getId()
const;
127 void setId(
const std::string& _newId);
Main esvg namespace.
Definition: Base.hpp:24
Painting a radial gradient.
Definition: Base.hpp:33
const float kappa90
proportional lenght to the radius of a bezier handle for 90° arcs.
No painting.
Definition: Base.hpp:30
mat2 m_transformMatrix
specific render of the curent element
Definition: Base.hpp:55
Painting a color.
Definition: Base.hpp:31
Definition: Renderer.hpp:16
Painting a linear gradient.
Definition: Base.hpp:32
bool flagEvenOdd
Fill rules.
Definition: Base.hpp:44
std::string m_id
unique ID of the element.
Definition: Base.hpp:116
paint
Painting mode of the Object:
Definition: Base.hpp:29
std::pair< vec2, vec2 > viewPort
min pos, max pos
Definition: Base.hpp:48