17 #ifndef CAIROCIRCLE_H_ 18 #define CAIROCIRCLE_H_ 22 #define CAIROCIRCLE_DEFAULT_THETASTART 0. 23 #define CAIROCIRCLE_DEFAULT_THETAEND 2.*M_PI 49 CairoCircle(cairo_t *cr,
double x,
double y,
double radiusIn,
bool fillIn) :
CairoArc(cr, x, y, radiusIn,
CAIROCIRCLE_DEFAULT_THETASTART,
CAIROCIRCLE_DEFAULT_THETAEND, fillIn) {
69 void draw(cairo_t *cr,
double x,
double y,
bool fillIn) {
78 void draw(cairo_t *cr,
double x,
double y,
double radiusIn) {
88 void draw(cairo_t *cr,
double x,
double y,
double radiusIn,
bool fillIn) {
96 void draw(cairo_t *cr,
double x,
double y) {
101 #endif // CAIROCIRCLE_H_
double thetaEnd
The angles from start to end.
CairoCircle()
empty constructor
#define CAIROCIRCLE_DEFAULT_THETASTART
The default start angle.
bool filled
Whether to fill the box.
CairoCircle(cairo_t *cr, double x, double y, double radiusIn, bool fillIn)
void draw(cairo_t *cr, double x, double y)
#define CAIROCIRCLE_DEFAULT_THETAEND
The default start angle.
void settings(double radiusIn, bool fillIn)
void draw(cairo_t *cr, double x, double y, bool fillIn)
void draw(cairo_t *cr, double x, double y, double radiusIn)
void draw(cairo_t *cr, double x, double y, bool fillIn)
void draw(cairo_t *cr, double x, double y, double radiusIn, bool fillIn)
double radius
The radius of the circle.
void init()
Initialiser for the constructors which sets the default constant angles for an arc which forms a circ...