KDECore
KSVGIconPainter Class Reference
#include <ksvgiconpainter.h>
Public Member Functions | |
void | addLinearGradient (const QString &id, ArtGradientLinear *gradient) |
void | addLinearGradientElement (ArtGradientLinear *gradient, QDomElement element) |
void | addRadialGradient (const QString &id, ArtGradientRadial *gradient) |
void | addRadialGradientElement (ArtGradientRadial *gradient, QDomElement element) |
double | dpi () |
void | drawEllipse (double cx, double cy, double rx, double ry) |
void | drawImage (double x, double y, QImage &image) |
void | drawLine (double x1, double y1, double x2, double y2) |
void | drawPath (const QString &data, bool fill) |
void | drawPolygon (QPointArray polyArray) |
void | drawPolyline (QPointArray polyArray, int points=-1) |
void | drawRectangle (double x, double y, double w, double h, double rx, double ry) |
void | finish () |
QImage * | image () |
KSVGIconPainter (int width, int height) | |
ArtGradientLinear * | linearGradient (const QString &id) |
QDomElement | linearGradientElement (ArtGradientLinear *linear) |
QColor | parseColor (const QString ¶m) |
Q_UINT32 | parseOpacity (const QString &data) |
QWMatrix | parseTransform (const QString &transform) |
ArtGradientRadial * | radialGradient (const QString &id) |
QDomElement | radialGradientElement (ArtGradientRadial *radial) |
void | setCapStyle (const QString &cap) |
void | setClippingRect (int x, int y, int w, int h) |
void | setDrawHeight (int dheight) |
void | setDrawWidth (int dwidth) |
void | setFillColor (const QString &fill) |
void | setFillOpacity (const QString &fillOpacity) |
void | setFillRule (const QString &fillRule) |
void | setJoinStyle (const QString &join) |
void | setOpacity (const QString &opacity) |
void | setStrokeColor (const QString &stroke) |
void | setStrokeDashArray (const QString &dashes) |
void | setStrokeDashOffset (const QString &dashOffset) |
void | setStrokeMiterLimit (const QString &miter) |
void | setStrokeOpacity (const QString &strokeOpacity) |
void | setStrokeWidth (double width) |
void | setUseFill (bool fill) |
void | setUseStroke (bool stroke) |
void | setWorldMatrix (QWMatrix *worldMatrix) |
Q_UINT32 | toArtColor (const QColor &color) |
double | toPixel (const QString &s, bool hmode) |
QWMatrix * | worldMatrix () |
~KSVGIconPainter () |
Detailed Description
Definition at line 33 of file ksvgiconpainter.h.
Constructor & Destructor Documentation
KSVGIconPainter::KSVGIconPainter | ( | int | width, | |
int | height | |||
) |
Definition at line 1180 of file ksvgiconpainter.cpp.
KSVGIconPainter::~KSVGIconPainter | ( | ) |
Definition at line 1188 of file ksvgiconpainter.cpp.
Member Function Documentation
void KSVGIconPainter::addLinearGradient | ( | const QString & | id, | |
ArtGradientLinear * | gradient | |||
) |
Definition at line 2721 of file ksvgiconpainter.cpp.
void KSVGIconPainter::addLinearGradientElement | ( | ArtGradientLinear * | gradient, | |
QDomElement | element | |||
) |
Definition at line 2731 of file ksvgiconpainter.cpp.
void KSVGIconPainter::addRadialGradient | ( | const QString & | id, | |
ArtGradientRadial * | gradient | |||
) |
Definition at line 2741 of file ksvgiconpainter.cpp.
void KSVGIconPainter::addRadialGradientElement | ( | ArtGradientRadial * | gradient, | |
QDomElement | element | |||
) |
Definition at line 2751 of file ksvgiconpainter.cpp.
double KSVGIconPainter::dpi | ( | ) |
Definition at line 2664 of file ksvgiconpainter.cpp.
Definition at line 1533 of file ksvgiconpainter.cpp.
Definition at line 2307 of file ksvgiconpainter.cpp.
Definition at line 1578 of file ksvgiconpainter.cpp.
Definition at line 1727 of file ksvgiconpainter.cpp.
void KSVGIconPainter::drawPolygon | ( | QPointArray | polyArray | ) |
Definition at line 1633 of file ksvgiconpainter.cpp.
void KSVGIconPainter::drawPolyline | ( | QPointArray | polyArray, | |
int | points = -1 | |||
) |
Definition at line 1597 of file ksvgiconpainter.cpp.
void KSVGIconPainter::drawRectangle | ( | double | x, | |
double | y, | |||
double | w, | |||
double | h, | |||
double | rx, | |||
double | ry | |||
) |
Definition at line 1399 of file ksvgiconpainter.cpp.
void KSVGIconPainter::finish | ( | ) |
Definition at line 1204 of file ksvgiconpainter.cpp.
QImage * KSVGIconPainter::image | ( | ) |
Definition at line 1209 of file ksvgiconpainter.cpp.
ArtGradientLinear * KSVGIconPainter::linearGradient | ( | const QString & | id | ) |
Definition at line 2716 of file ksvgiconpainter.cpp.
QDomElement KSVGIconPainter::linearGradientElement | ( | ArtGradientLinear * | linear | ) |
Definition at line 2726 of file ksvgiconpainter.cpp.
Definition at line 2325 of file ksvgiconpainter.cpp.
Q_UINT32 KSVGIconPainter::parseOpacity | ( | const QString & | data | ) |
Definition at line 1318 of file ksvgiconpainter.cpp.
Definition at line 2761 of file ksvgiconpainter.cpp.
ArtGradientRadial * KSVGIconPainter::radialGradient | ( | const QString & | id | ) |
Definition at line 2736 of file ksvgiconpainter.cpp.
QDomElement KSVGIconPainter::radialGradientElement | ( | ArtGradientRadial * | radial | ) |
Definition at line 2746 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setCapStyle | ( | const QString & | cap | ) |
Definition at line 1247 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setClippingRect | ( | int | x, | |
int | y, | |||
int | w, | |||
int | h | |||
) |
Definition at line 1365 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setDrawHeight | ( | int | dheight | ) |
Definition at line 1199 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setDrawWidth | ( | int | dwidth | ) |
Definition at line 1194 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setFillColor | ( | const QString & | fill | ) |
Definition at line 1285 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setFillOpacity | ( | const QString & | fillOpacity | ) |
Definition at line 1340 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setFillRule | ( | const QString & | fillRule | ) |
Definition at line 1313 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setJoinStyle | ( | const QString & | join | ) |
Definition at line 1252 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setOpacity | ( | const QString & | opacity | ) |
Definition at line 1350 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setStrokeColor | ( | const QString & | stroke | ) |
Definition at line 1257 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setStrokeDashArray | ( | const QString & | dashes | ) |
Definition at line 1242 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setStrokeDashOffset | ( | const QString & | dashOffset | ) |
Definition at line 1237 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setStrokeMiterLimit | ( | const QString & | miter | ) |
Definition at line 1232 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setStrokeOpacity | ( | const QString & | strokeOpacity | ) |
Definition at line 1345 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setStrokeWidth | ( | double | width | ) |
Definition at line 1227 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setUseFill | ( | bool | fill | ) |
Definition at line 1355 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setUseStroke | ( | bool | stroke | ) |
Definition at line 1360 of file ksvgiconpainter.cpp.
void KSVGIconPainter::setWorldMatrix | ( | QWMatrix * | worldMatrix | ) |
Definition at line 1219 of file ksvgiconpainter.cpp.
Q_UINT32 KSVGIconPainter::toArtColor | ( | const QColor & | color | ) |
Definition at line 2756 of file ksvgiconpainter.cpp.
Definition at line 2669 of file ksvgiconpainter.cpp.
QWMatrix * KSVGIconPainter::worldMatrix | ( | ) |
Definition at line 1214 of file ksvgiconpainter.cpp.
The documentation for this class was generated from the following files: