Public Member Functions

 Renderer (const ivec2 &_size, esvg::Document *_document, bool _visualDebug=false)
 
void setSize (const ivec2 &_size)
 
const ivec2getSize () const
 
std::vector< etk::Color< float, 4 > > getData ()
 
void setInterpolationRecurtionMax (int32_t _value)
 
int32_t getInterpolationRecurtionMax () const
 
void setInterpolationThreshold (float _value)
 
float getInterpolationThreshold () const
 
void setNumberSubScanLine (int32_t _value)
 
int32_t getNumberSubScanLine () const
 
void writePPM (const std::string &_fileName)
 
void writeBMP (const std::string &_fileName)
 
void print (const esvg::render::Weight &_weightFill, ememory::SharedPtr< esvg::render::DynamicColor > &_colorFill, const esvg::render::Weight &_weightStroke, ememory::SharedPtr< esvg::render::DynamicColor > &_colorStroke, float _opacity)
 
esvg::DocumentgetMainDocument ()
 

Protected Member Functions

etk::Color< float, 4 > mergeColor (etk::Color< float, 4 > _base, etk::Color< float, 4 > _integration)
 

Protected Attributes

ivec2 m_size
 
std::vector< etk::Color< float, 4 > > m_buffer
 
int32_t m_interpolationRecurtionMax
 
float m_interpolationThreshold
 
int32_t m_nbSubScanLine
 
esvg::Documentm_document
 

The documentation for this class was generated from the following file: