esvg.hpp
Go to the documentation of this file.
std::vector< etk::Color< uint8_t, 4 > > renderImageU8RGBA(ivec2 &_size)
std::vector< etk::Color< uint8_t, 3 > > renderImageU8RGB(ivec2 &_size)
std::vector< etk::Color< float, 3 > > renderImageFloatRGB(ivec2 &_size)
std::vector< etk::Color< float, 4 > > renderImageFloatRGBA(ivec2 &_size)
Generate Image in a specific format.
Definition: Base.hpp:52
Definition: Renderer.hpp:16
virtual bool cleanStyleProperty(const exml::Element &_root)
change all style in a xml atribute
void drawShapePoints(std::vector< std::vector< vec2 >> &_out, int32_t _recurtionMax, float _threshold, mat2 &_basicTrans, int32_t _level=1) override
Draw rhe shape with all points.
Definition: esvg.hpp:19
bool generate(std::string &_data)
generate a string that contain the created SVG
void draw(esvg::Renderer &_myRenderer, mat2 &_basicTrans, int32_t _level=0) override
Draw the form in the renderer.