clan::Shape2D Class Reference

#include <shape2d.h>

Public Member Functions

Construction
 Shape2D ()
 
virtual ~Shape2D ()
 
Attributes
void get_triangles (std::vector< Vec2f > &out_primitives_array, PolygonOrientation orientation=cl_clockwise) const
 triangulate More...
 
void get_outline (std::vector< std::vector< Vec2f > > &out_primitives_array_outline) const
 
Operations
void add_path (Path2D &path)
 
void add_circle (float center_x, float center_y, float radius, bool reverse=false)
 Add a circle. More...
 
void add_ellipse (float center_x, float center_y, float radius_x, float radius_y, bool reverse=false)
 Add a ellispe. More...
 
void add_circle (const Pointf &center, float radius_x, bool reverse=false)
 Add a Circle. More...
 
void add_ellipse (const Pointf &center, const Pointf &radius, bool reverse=false)
 Add a Circle. More...
 
void add_rounded_rect (const Pointf &origin, const Sizef &size, float cap_rounding, bool reverse=false)
 
void add_rounded_rect (const Pointf &origin, const Sizef &size, float cap_rounding, const Angle &angle, bool reverse=false)
 
void add_rect (const Rectf &rect, bool reverse=false)
 
void add_rect (const Rectf &rect, const Angle &angle, bool reverse=false)
 
void add_rounded_line (const Pointf &start, const Pointf &end, float line_width, float cap_rounding, bool reverse)
 

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