superkaramba
#include <skappletadaptor.h>

Public Types | |
enum | BrushStyle { NoBrush = Qt::NoBrush, SolidBrush = Qt::SolidPattern, DenseBrush = Qt::Dense7Pattern, LinearGradientBrush = Qt::LinearGradientPattern, ConicalGradientBrush = Qt::ConicalGradientPattern, RadialGradientBrush = Qt::RadialGradientPattern } |
Public Slots | |
void | drawEllipse (const QRectF &r) |
void | drawLine (const QPointF &p1, const QPointF &p2) |
void | drawPie (const QRectF &r, int startAngle, int spanAngle) |
void | drawPoint (const QPointF &p) |
void | drawRect (const QRectF &r) |
void | drawText (const QPointF &position, const QString &text) |
void | restore () |
void | rotate (double angle) |
void | save () |
void | scale (double x, double y) |
void | setBackgroundColor (const QString &color) |
void | setBackgroundStyle (int brushStyle) |
void | setColor (const QString &color) |
void | setOpacity (double opacity) |
void | setPenColor (const QString &color) |
void | setStyle (int brushStyle) |
void | shear (double x, double y) |
void | translate (double x, double y) |
Public Member Functions | |
SkPainterAdaptor (QObject *parent, QPainter *painter) | |
virtual | ~SkPainterAdaptor () |
QPainter * | painter () const |
Detailed Description
The SkPainterAdaptor class implements an adaptor for QPainter objects.
Definition at line 46 of file skappletadaptor.h.
Member Enumeration Documentation
Enumerator | |
---|---|
NoBrush | |
SolidBrush | |
DenseBrush | |
LinearGradientBrush | |
ConicalGradientBrush | |
RadialGradientBrush |
Definition at line 54 of file skappletadaptor.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 51 of file skappletadaptor.h.
|
inlinevirtual |
Definition at line 52 of file skappletadaptor.h.
Member Function Documentation
|
inlineslot |
Draw an ellipse.
Definition at line 96 of file skappletadaptor.h.
|
inlineslot |
Draw a line.
Definition at line 98 of file skappletadaptor.h.
|
inlineslot |
Draw a pie.
Definition at line 100 of file skappletadaptor.h.
|
inlineslot |
Draw a point.
Definition at line 102 of file skappletadaptor.h.
|
inlineslot |
Draw a rect.
Definition at line 104 of file skappletadaptor.h.
|
inlineslot |
Draw some text.
Definition at line 106 of file skappletadaptor.h.
|
inline |
Definition at line 53 of file skappletadaptor.h.
|
inlineslot |
Restore the painter.
Definition at line 67 of file skappletadaptor.h.
|
inlineslot |
Rotate by an defined angle.
Definition at line 87 of file skappletadaptor.h.
|
inlineslot |
Save the painter.
Definition at line 65 of file skappletadaptor.h.
|
inlineslot |
Scale by x and y.
Definition at line 89 of file skappletadaptor.h.
|
inlineslot |
Set the used background-color.
Definition at line 75 of file skappletadaptor.h.
|
inlineslot |
Set the used background-BrushStyle.
Definition at line 77 of file skappletadaptor.h.
|
inlineslot |
Set the used foreground-color.
Definition at line 70 of file skappletadaptor.h.
|
inlineslot |
Set the used opacity.
Definition at line 84 of file skappletadaptor.h.
|
inlineslot |
Set the used pen-color.
Definition at line 80 of file skappletadaptor.h.
|
inlineslot |
Set the used foreground-BrushStyle.
Definition at line 72 of file skappletadaptor.h.
|
inlineslot |
Shear by x and y.
Definition at line 91 of file skappletadaptor.h.
|
inlineslot |
Translate to x and y.
Definition at line 93 of file skappletadaptor.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.