#include <CairoCanvas.hpp>
Inheritance diagram for Ionflux::Tools::CairoCanvas:
Public Member Functions | |
CairoCanvas () | |
Constructor. | |
CairoCanvas (const Ionflux::Tools::Cairo::CairoContext &initCairoContext) | |
Constructor. | |
CairoCanvas (cairo_t *initCairoContext) | |
Constructor. | |
CairoCanvas (cairo_surface_t *initSurface) | |
Constructor. | |
CairoCanvas (Ionflux::Tools::Cairo::Surface &initSurface) | |
Constructor. | |
CairoCanvas (const CairoCanvas &initCairoCanvas) | |
Constructor. | |
virtual | ~CairoCanvas () |
Destructor. | |
virtual void | drawLine (double x1, double y1, double x2, double y2, double width=0.0, const Color *color=0, Matrix3 *transform=0) |
Draw line. | |
virtual void | drawRectangle (double x, double y, double width, double height, double strokeWidth=0.0, const Color *strokeColor=0, const Color *fillColor=0, Matrix3 *transform=0) |
Draw rectangle. | |
virtual void | drawArc (double x, double y, double width, double height, double angle1, double angle2, double strokeWidth=0.0, const Color *strokeColor=0, const Color *fillColor=0, Matrix3 *transform=0) |
Draw arc. | |
virtual void | drawArcEc (double xc, double yc, double radius, double angle1, double angle2, double eccentricity=0.0, double strokeWidth=0.0, const Color *strokeColor=0, const Color *fillColor=0, Matrix3 *transform=0) |
Draw arc. | |
virtual void | drawEllipse (double x, double y, double width, double height, double strokeWidth=0.0, const Color *strokeColor=0, const Color *fillColor=0, Matrix3 *transform=0) |
Draw ellipse. | |
virtual void | drawEllipseEc (double xc, double yc, double radius, double eccentricity=0.0, double strokeWidth=0.0, const Color *strokeColor=0, const Color *fillColor=0, Matrix3 *transform=0) |
Draw ellipse. | |
virtual void | drawCircle (double xc, double yc, double radius, double strokeWidth=0.0, const Color *strokeColor=0, const Color *fillColor=0, Matrix3 *transform=0) |
Draw circle. | |
virtual void | drawCurve (double x1, double y1, double x2, double y2, double x3, double y3, double strokeWidth=0.0, const Color *color=0, Matrix3 *transform=0) |
Draw curve. | |
virtual void | drawText (double x, double y, const std::string &text, const std::string &fontDesc="", double fontSize=0.0, const Color *color=0, Matrix3 *transform=0) |
Draw text. | |
virtual void | getTextSize (const std::string &text, double &width, double &height, const std::string &fontDesc="", double fontSize=0.0, Matrix3 *transform=0) |
Get text size. | |
virtual CairoCanvas & | operator= (const Ionflux::Tools::Cairo::CairoContext &newCairoContext) |
Assignment operator. | |
virtual CairoCanvas & | operator= (cairo_t *newCairoContext) |
Assignment operator. | |
virtual CairoCanvas & | operator= (const CairoCanvas &newCairoCanvas) |
Assignment operator. | |
Protected Member Functions | |
virtual void | setTransform (Matrix3 *transform=0) |
Set transform. |
A canvas which uses Cairo for drawing operations.
|
Constructor. Construct new CairoCanvas object. |
|
Constructor. Construct new CairoCanvas object.
|
|
Constructor. Construct new CairoCanvas object.
|
|
Constructor. Construct new CairoCanvas object.
|
|
Constructor. Construct new CairoCanvas object.
|
|
Constructor. Construct new CairoCanvas object.
|
|
Destructor. Destruct CairoCanvas object. |
|
Draw arc. Draw an arc.
Implements Ionflux::Tools::Canvas. |
|
Draw arc. Draw an arc with specified eccentricity.
Implements Ionflux::Tools::Canvas. |
|
Draw circle. Draw a circle.
Implements Ionflux::Tools::Canvas. |
|
Draw curve. Draw a curve.
Implements Ionflux::Tools::Canvas. |
|
Draw ellipse. Draw an ellipse.
Implements Ionflux::Tools::Canvas. |
|
Draw ellipse. Draw an ellipse.
Implements Ionflux::Tools::Canvas. |
|
Draw line. Draw a line.
Implements Ionflux::Tools::Canvas. |
|
Draw rectangle. Draw a rectangle.
Implements Ionflux::Tools::Canvas. |
|
Draw text. Draw a text.
Implements Ionflux::Tools::Canvas. |
|
Get text size. Get the size of the specified text.
|
|
Assignment operator. Assign a Cairo canvas to another Cairo canvas.
|
|
Assignment operator. Assign a Cairo context to a Cairo canvas.
Reimplemented from Ionflux::Tools::Cairo::CairoContext. |
|
Assignment operator. Assign a Cairo context to a Cairo canvas.
Reimplemented from Ionflux::Tools::Cairo::CairoContext. |
|
Set transform. Set transform.
|