Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
agg::bezier_arc_svg Class Reference

#include <src/agg/agg_bezier_arc.h>

+ Collaboration diagram for agg::bezier_arc_svg:

Public Member Functions

 bezier_arc_svg ()
 
 bezier_arc_svg (double x1, double y1, double rx, double ry, double angle, bool large_arc_flag, bool sweep_flag, double x2, double y2)
 
void init (double x1, double y1, double rx, double ry, double angle, bool large_arc_flag, bool sweep_flag, double x2, double y2)
 
bool radii_ok () const
 
void rewind (unsigned)
 
unsigned vertex (double *x, double *y)
 
unsigned num_vertices () const
 
const double * vertices () const
 
double * vertices ()
 

Private Attributes

bezier_arc m_arc
 
bool m_radii_ok
 

Detailed Description

Constructor & Destructor Documentation

◆ bezier_arc_svg() [1/2]

agg::bezier_arc_svg::bezier_arc_svg ( )
inline
105: m_arc(), m_radii_ok(false) {}
bezier_arc m_arc
Definition agg_bezier_arc.h:149
bool m_radii_ok
Definition agg_bezier_arc.h:150

◆ bezier_arc_svg() [2/2]

agg::bezier_arc_svg::bezier_arc_svg ( double  x1,
double  y1,
double  rx,
double  ry,
double  angle,
bool  large_arc_flag,
bool  sweep_flag,
double  x2,
double  y2 
)
inline
112 :
113 m_arc(), m_radii_ok(false)
114 {
115 init(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2);
116 }
void init(double x1, double y1, double rx, double ry, double angle, bool large_arc_flag, bool sweep_flag, double x2, double y2)

References init().

+ Here is the call graph for this function:

Member Function Documentation

◆ init()

void agg::bezier_arc_svg::init ( double  x1,
double  y1,
double  rx,
double  ry,
double  angle,
bool  large_arc_flag,
bool  sweep_flag,
double  x2,
double  y2 
)

Referenced by bezier_arc_svg().

+ Here is the caller graph for this function:

◆ num_vertices()

unsigned agg::bezier_arc_svg::num_vertices ( ) const
inline
144{ return m_arc.num_vertices(); }
unsigned num_vertices() const
Definition agg_bezier_arc.h:77

References m_arc, and agg::bezier_arc::num_vertices().

+ Here is the call graph for this function:

◆ radii_ok()

bool agg::bezier_arc_svg::radii_ok ( ) const
inline
127{ return m_radii_ok; }

References m_radii_ok.

◆ rewind()

void agg::bezier_arc_svg::rewind ( unsigned  )
inline
131 {
132 m_arc.rewind(0);
133 }
void rewind(unsigned)
Definition agg_bezier_arc.h:59

References m_arc, and agg::bezier_arc::rewind().

+ Here is the call graph for this function:

◆ vertex()

unsigned agg::bezier_arc_svg::vertex ( double *  x,
double *  y 
)
inline
137 {
138 return m_arc.vertex(x, y);
139 }
unsigned vertex(double *x, double *y)
Definition agg_bezier_arc.h:65

References m_arc, and agg::bezier_arc::vertex().

+ Here is the call graph for this function:

◆ vertices() [1/2]

double * agg::bezier_arc_svg::vertices ( )
inline
146{ return m_arc.vertices(); }
const double * vertices() const
Definition agg_bezier_arc.h:78

References m_arc, and agg::bezier_arc::vertices().

+ Here is the call graph for this function:

◆ vertices() [2/2]

const double * agg::bezier_arc_svg::vertices ( ) const
inline
145{ return m_arc.vertices(); }

References m_arc, and agg::bezier_arc::vertices().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_arc

bezier_arc agg::bezier_arc_svg::m_arc
private

◆ m_radii_ok

bool agg::bezier_arc_svg::m_radii_ok
private

Referenced by radii_ok().


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