Public Types

enum  type {
  type::single, type::start, type::stop, type::join,
  type::interpolation
}
 

Public Member Functions

 Point (const vec2 &_pos, enum esvg::render::Point::type _type=esvg::render::Point::type::join)
 
void setEndPath ()
 
void normalize (const vec2 &_nextPoint)
 

Public Attributes

vec2 m_pos
 
enum esvg::render::Point::type m_type
 
vec2 m_miterAxe
 
vec2 m_orthoAxePrevious
 
vec2 m_orthoAxeNext
 
vec2 m_posPrevious
 
vec2 m_posNext
 
vec2 m_delta
 
float m_len
 

Member Enumeration Documentation

§ type

Enumerator
single 

Point type is single, this mean that it start and stop of a path.

start 

Point type is starting of a path.

stop 

Point type is stoping of a path.

join 

Point type in an user point provided inside a path.

interpolation 

This point is dynamicly calculated to create an interpolation.

Member Data Documentation

§ m_pos

vec2 esvg::render::Point::m_pos

position of the point


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