#include <Canvas.hpp>
Inheritance diagram for Ionflux::Tools::Canvas:
Public Member Functions | |
Canvas () | |
Constructor. | |
virtual | ~Canvas () |
Destructor. | |
virtual void | drawLine (double x1, double y1, double x2, double y2, double width=0.0, const Color *color=0, Matrix3 *transform=0)=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)=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)=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)=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)=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)=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)=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)=0 |
Draw curve. | |
virtual void | drawText (double x, double y, const std::string &text, const std::string &fontFamily="", double fontSize=0.0, const Color *color=0, Matrix3 *transform=0)=0 |
Draw text. | |
virtual void | setDefaultStrokeColor (const Color &newDefaultStrokeColor) |
Set default stroke color. | |
virtual void | setDefaultFillColor (const Color &newDefaultFillColor) |
Set default fill color. | |
virtual void | setDefaultStrokeWidth (double newDefaultStrokeWidth) |
Set default stroke width. | |
virtual void | setDefaultFontFamily (const std::string &newDefaultFontFamily) |
Set default font family. | |
virtual void | setDefaultFontSize (double newDefaultFontSize) |
Set default font size. | |
virtual void | setDefaultTransform (Matrix3 *newDefaultTransform) |
Set default transform matrix. | |
virtual Color | getDefaultStrokeColor () const |
Get default stroke color. | |
virtual Color | getDefaultFillColor () const |
Get default fill color. | |
virtual double | getDefaultStrokeWidth () const |
Get default stroke width. | |
virtual std::string | getDefaultFontFamily () const |
Get default font family. | |
virtual double | getDefaultFontSize () const |
Get default font size. | |
virtual Matrix3 * | getDefaultTransform () const |
Get default transform matrix. | |
Protected Attributes | |
Color | defaultStrokeColor |
Default stroke color. | |
Color | defaultFillColor |
Default fill color. | |
double | defaultStrokeWidth |
Default stroke width. | |
std::string | defaultFontFamily |
Default font family. | |
double | defaultFontSize |
Default font size. | |
Matrix3 * | defaultTransform |
Default transform matrix. |
Abstract base class for objects which process drawing operations.
|
Constructor. Construct new Canvas object. |
|
Destructor. Destruct Canvas object. |
|
Draw arc. Draw an arc.
Implemented in Ionflux::Tools::CairoCanvas. |
|
Draw arc. Draw an arc with specified eccentricity.
Implemented in Ionflux::Tools::CairoCanvas. |
|
Draw circle. Draw a circle.
Implemented in Ionflux::Tools::CairoCanvas. |
|
Draw curve. Draw a curve.
Implemented in Ionflux::Tools::CairoCanvas. |
|
Draw ellipse. Draw an ellipse.
Implemented in Ionflux::Tools::CairoCanvas. |
|
Draw ellipse. Draw an ellipse.
Implemented in Ionflux::Tools::CairoCanvas. |
|
Draw line. Draw a line.
Implemented in Ionflux::Tools::CairoCanvas. |
|
Draw rectangle. Draw a rectangle.
Implemented in Ionflux::Tools::CairoCanvas. |
|
Draw text. Draw a text.
Implemented in Ionflux::Tools::CairoCanvas. |
|
Get default fill color.
|
|
Get default font family.
|
|
Get default font size.
|
|
Get default stroke color.
|
|
Get default stroke width.
|
|
Get default transform matrix.
|
|
Set default fill color. Set new value of default fill color.
|
|
Set default font family. Set new value of default font family.
|
|
Set default font size. Set new value of default font size.
|
|
Set default stroke color. Set new value of default stroke color.
|
|
Set default stroke width. Set new value of default stroke width.
|
|
Set default transform matrix. Set new value of default transform matrix.
|
|
Default fill color.
|
|
Default font family.
|
|
Default font size.
|
|
Default stroke color.
|
|
Default stroke width.
|
|
Default transform matrix.
|