kivio
KivioShapePainter Class Reference
List of all members.Detailed Description
Definition at line 13 of file kivio_shape_painter.h.
Public Member Functions | |
KivioShapePainter (KivioPainter *) | |
virtual | ~KivioShapePainter () |
void | setFGColor (const QColor &c) |
void | setBGColor (const QColor &c) |
void | setLineWidth (const float &f) |
void | drawShape (KivioShape *, float, float, float, float) |
void | drawShapeOutline (KivioShape *, float, float, float, float) |
Protected Member Functions | |
void | drawArc () |
void | drawBezier () |
void | drawOpenPath () |
void | drawClosedPath () |
void | drawPie () |
void | drawEllipse () |
void | drawLineArray () |
void | drawRectangle () |
void | drawRoundRectangle () |
void | drawPolygon () |
void | drawPolyline () |
void | drawTextBox () |
Protected Attributes | |
KivioFillStyle | m_fillStyle |
KivioPainter * | m_pPainter |
KivioShape * | m_pShape |
QColor | m_fgColor |
float | m_lineWidth |
float | m_x |
float | m_y |
float | m_w |
float | m_h |
Constructor & Destructor Documentation
KivioShapePainter::KivioShapePainter | ( | KivioPainter * | p | ) |
This class can be used to draw a KivioShape scaled to a given width and height at a given point on a drawing surface.
Also planned is the ability to transform this object, ie rotate/sheer.
Definition at line 14 of file kivio_shape_painter.cpp.
The documentation for this class was generated from the following files: