gtkIOStream
1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
|
#include <CairoArc.H>
Public Member Functions | |
CairoArc () | |
Empty constructor. More... | |
CairoArc (cairo_t *cr, double x, double y, double radiusIn, double angleStart, double angleEnd, bool fillIn) | |
virtual | ~CairoArc () |
void | settings (double radiusIn, double angleStart, double angleEnd, 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, double radiusIn, bool fillIn) |
void | draw (cairo_t *cr, double x, double y, double angleStart, double angleEnd, bool fillIn) |
void | draw (cairo_t *cr, double x, double y, double radiusIn, double angleStart, double angleEnd) |
void | draw (cairo_t *cr, double x, double y, double radiusIn, double angleStart, double angleEnd, bool fillIn) |
void | draw (cairo_t *cr, double x, double y) |
double | getRadius () |
double | getAngleStart () |
double | getAngleEnd () |
Protected Attributes | |
double | radius |
The radius of the circle. More... | |
double | thetaStart |
double | thetaEnd |
The angles from start to end. More... | |
bool | filled |
Whether to fill the box. More... | |
Given a Cairo context, draw an arc. The arc is specified by a central point (x, y) the radius and a starting, ending angle and whether it is filled or not. Assumes that the Cairo context is already configured for line width and colour.
Definition at line 36 of file CairoArc.H.
|
inline |
Empty constructor.
Definition at line 43 of file CairoArc.H.
|
inline |
Constructor which draws an arc at a particular location. This constructor also stores the various member variables for radius, angle and fill state.
x | The x location to draw use as the center. |
y | The y location to draw use as the center. |
radiusIn | The radius to draw the arc to. |
angleStart | The starting angle |
angleEnd | The ending angle |
bool | fillIn Whether the fill or not. |
Definition at line 59 of file CairoArc.H.
|
inlinevirtual |
Definition at line 63 of file CairoArc.H.
|
inline |
Draw the arc at a particular location.
x | The x location to draw use as the center. |
y | The y location to draw use as the center. |
bool | fillIn Whether the fill or not. |
Definition at line 82 of file CairoArc.H.
|
inline |
Draw the arc at a particular location.
x | The x location to draw use as the center. |
y | The y location to draw use as the center. |
radiusIn | The radius to draw the arc to. |
Definition at line 92 of file CairoArc.H.
|
inline |
Draw the arc at a particular location.
x | The x location to draw use as the center. |
y | The y location to draw use as the center. |
radiusIn | The radius to draw the arc to. |
bool | fillIn Whether the fill or not. |
Definition at line 103 of file CairoArc.H.
|
inline |
Draw the arc at a particular location.
x | The x location to draw use as the center. |
y | The y location to draw use as the center. |
angleStart | The starting angle |
angleEnd | The ending angle |
bool | fillIn Whether the fill or not. |
Definition at line 115 of file CairoArc.H.
|
inline |
Draw the arc at a particular location.
x | The x location to draw use as the center. |
y | The y location to draw use as the center. |
radiusIn | The radius to draw the arc to. |
angleStart | The starting angle |
angleEnd | The ending angle |
Definition at line 127 of file CairoArc.H.
|
inline |
Draw the arc at a particular location.
x | The x location to draw use as the center. |
y | The y location to draw use as the center. |
radiusIn | The radius to draw the arc to. |
angleStart | The starting angle |
angleEnd | The ending angle |
bool | fillIn Whether the fill or not. |
Definition at line 140 of file CairoArc.H.
|
inline |
Draw the arc at a particular location.
cr | The cairo context to draw to. |
x | The x location to draw use as the center. |
y | The y location to draw use as the center. |
Definition at line 150 of file CairoArc.H.
|
inline |
Find the ending angle
Definition at line 178 of file CairoArc.H.
|
inline |
Find the starting angle
Definition at line 171 of file CairoArc.H.
|
inline |
Find the radius
Definition at line 164 of file CairoArc.H.
|
inline |
Change the drawing settings.
radiusIn | The radius to draw the arc to. |
angleStart | The starting angle |
angleEnd | The ending angle |
bool | fillIn Whether the fill or not. |
Definition at line 71 of file CairoArc.H.
|
protected |
Whether to fill the box.
Definition at line 40 of file CairoArc.H.
|
protected |
The radius of the circle.
Definition at line 38 of file CairoArc.H.
|
protected |
The angles from start to end.
Definition at line 39 of file CairoArc.H.
|
protected |
Definition at line 39 of file CairoArc.H.
GTK+ IOStream
Beta
|