kivio
KivioScreenPainter Class Reference
Inheritance diagram for KivioScreenPainter:

Detailed Description
Definition at line 31 of file kivio_screen_painter.h.
Public Member Functions | |
KivioScreenPainter () | |
KivioScreenPainter (QPainter *painter) | |
virtual | ~KivioScreenPainter () |
virtual bool | start (QPaintDevice *) |
virtual bool | stop () |
QPainter * | painter () |
void | setPainter (QPainter *p) |
void | drawLine (float, float, float, float) |
void | drawArc (float, float, float, float, float, float) |
void | drawBezier (QPointArray &) |
void | drawRect (float, float, float, float) |
void | fillRect (float, float, float, float) |
void | drawRoundRect (float, float, float, float, float, float) |
void | fillRoundRect (float, float, float, float, float, float) |
void | drawPie (float, float, float, float, float, float) |
void | fillPie (float, float, float, float, float, float) |
void | drawChord (float, float, float, float, float, float) |
void | fillChord (float, float, float, float, float, float) |
void | drawEllipse (float, float, float, float) |
void | fillEllipse (float, float, float, float) |
void | drawLineArray (QPtrList< KivioPoint > *) |
void | drawPolyline (QPtrList< KivioPoint > *) |
void | drawPolygon (QPtrList< KivioPoint > *) |
void | drawPolyline (QPointArray &) |
void | drawPolygon (QPointArray &) |
void | drawLineArray (QPointArray &) |
void | drawClosedPath (QPtrList< KivioPoint > *) |
void | drawOpenPath (QPtrList< KivioPoint > *) |
void | setFont (const QFont &) |
void | drawText (int x, int y, int w, int h, int tf, const QString &str) |
virtual QRect | boundingRect (int, int, int, int, int, const QString &) |
void | drawPixmap (float, float, const QPixmap &) |
void | drawHandle (float, float, int) |
virtual void | drawSelectionBox (const QRect &) |
virtual void | saveState () |
virtual void | restoreState () |
virtual void | setTranslation (float, float) |
virtual void | translateBy (float, float) |
virtual void | setRotation (int) |
virtual void | rotateBy (int) |
virtual int | rotation () |
virtual void | setWorldMatrix (QWMatrix, bool) |
Protected Attributes | |
QPainter * | m_pPainter |
float | m_transX |
float | m_transY |
int | m_rotation |
Member Function Documentation
|
Draws an arc.
Reimplemented from KivioPainter. Definition at line 145 of file kivio_screen_painter.cpp. |
|
Draws a single quad-bezier curve.
Reimplemented from KivioPainter. Definition at line 163 of file kivio_screen_painter.cpp. |
|
Draws a hollow chord.
Reimplemented from KivioPainter. Definition at line 357 of file kivio_screen_painter.cpp. |
|
Draws a filled path object.
Reimplemented from KivioPainter. Definition at line 612 of file kivio_screen_painter.cpp. |
|
Draws a hollow ellipse.
Reimplemented from KivioPainter. Definition at line 414 of file kivio_screen_painter.cpp. |
|
Draws a line from one point to another.
Reimplemented from KivioPainter. Definition at line 122 of file kivio_screen_painter.cpp. |
|
Draws an array of lines.
Reimplemented from KivioPainter. Definition at line 466 of file kivio_screen_painter.cpp. |
|
Draws a hollow pie.
Reimplemented from KivioPainter. Definition at line 298 of file kivio_screen_painter.cpp. |
|
Draws a polygon.
Reimplemented from KivioPainter. Definition at line 527 of file kivio_screen_painter.cpp. |
|
Draws a polyline.
Reimplemented from KivioPainter. Definition at line 500 of file kivio_screen_painter.cpp. |
|
Draws a hollow rectangle.
Reimplemented from KivioPainter. Definition at line 181 of file kivio_screen_painter.cpp. |
|
Draws a hollow round-rectangle.
Reimplemented from KivioPainter. Definition at line 238 of file kivio_screen_painter.cpp. |
|
Draws a filled/outlined chord.
Reimplemented from KivioPainter. Definition at line 380 of file kivio_screen_painter.cpp. |
|
Draws a filled/outlined ellipse.
Reimplemented from KivioPainter. Definition at line 435 of file kivio_screen_painter.cpp. |
|
Draws a filled/outlined pie.
Reimplemented from KivioPainter. Definition at line 321 of file kivio_screen_painter.cpp. |
|
Draws a filled/outlined rectangle.
Reimplemented from KivioPainter. Definition at line 202 of file kivio_screen_painter.cpp. |
|
Draws a filled/outlined round-rectangle.
Reimplemented from KivioPainter. Definition at line 262 of file kivio_screen_painter.cpp. |
|
Starts the drawing on a QPaintDevice.
Reimplemented from KivioPainter. Definition at line 70 of file kivio_screen_painter.cpp. |
|
Stops the drawing and flushes the drawing pipeline. After using the KivioScreenPainter object, call stop() to finalize it all. Reimplemented from KivioPainter. Definition at line 92 of file kivio_screen_painter.cpp. |
The documentation for this class was generated from the following files: