marble
Marble::ClipPainter Class Reference
#include <ClipPainter.h>
Inheritance diagram for Marble::ClipPainter:
Public Member Functions | |
ClipPainter () | |
ClipPainter (QPaintDevice *, bool) | |
~ClipPainter () | |
void | drawPolygon (const QPolygonF &, Qt::FillRule fillRule=Qt::OddEvenFill) |
void | drawPolyline (const QPolygonF &) |
void | drawPolyline (const QPolygonF &, QVector< QPointF > &labelNodes, LabelPositionFlags labelPositionFlag=LineCenter) |
bool | isClipping () const |
void | setClipping (bool enable) |
Public Member Functions inherited from QPainter | |
QPainter () | |
QPainter (QPaintDevice *device) | |
~QPainter () | |
const QBrush & | background () const |
const QColor & | backgroundColor () const |
Qt::BGMode | backgroundMode () const |
bool | begin (QPaintDevice *device) |
bool | begin (QPaintDevice *device, const QWidget *init) |
void | beginNativePainting () |
QRectF | boundingRect (const QRectF &rectangle, int flags, const QString &text) |
QRect | boundingRect (const QRect &rectangle, int flags, const QString &text) |
QRect | boundingRect (int x, int y, int w, int h, int flags, const QString &text) |
QRectF | boundingRect (const QRectF &rectangle, const QString &text, const QTextOption &option) |
QRect | boundingRect (const QRect &rectangle, int flags, const QString &text, int length) |
QRect | boundingRect (int x, int y, int width, int height, int flags, const QString &text, int length) |
const QBrush & | brush () const |
QPoint | brushOrigin () const |
QRectF | clipBoundingRect () const |
QPainterPath | clipPath () const |
QRegion | clipRegion () const |
QMatrix | combinedMatrix () const |
QTransform | combinedTransform () const |
CompositionMode | compositionMode () const |
QPaintDevice * | device () const |
const QMatrix & | deviceMatrix () const |
const QTransform & | deviceTransform () const |
void | drawArc (const QRectF &rectangle, int startAngle, int spanAngle) |
void | drawArc (const QRect &rectangle, int startAngle, int spanAngle) |
void | drawArc (int x, int y, int width, int height, int startAngle, int spanAngle) |
void | drawChord (const QRectF &rectangle, int startAngle, int spanAngle) |
void | drawChord (int x, int y, int width, int height, int startAngle, int spanAngle) |
void | drawChord (const QRect &rectangle, int startAngle, int spanAngle) |
void | drawConvexPolygon (const QPolygonF &polygon, int index, int count) |
void | drawConvexPolygon (const QPolygon &polygon, int index, int count) |
void | drawConvexPolygon (const QPointF *points, int pointCount) |
void | drawConvexPolygon (const QPolygonF &polygon) |
void | drawConvexPolygon (const QPoint *points, int pointCount) |
void | drawConvexPolygon (const QPolygon &polygon) |
void | drawCubicBezier (const QPolygon &controlPoints, int index) |
void | drawEllipse (const QRectF &rectangle) |
void | drawEllipse (const QRect &rectangle) |
void | drawEllipse (int x, int y, int width, int height) |
void | drawEllipse (const QPointF ¢er, qreal rx, qreal ry) |
void | drawEllipse (const QPoint ¢er, int rx, int ry) |
void | drawGlyphRun (const QPointF &position, const QGlyphRun &glyphs) |
void | drawImage (const QRectF &target, const QImage &image, const QRectF &source, QFlags< Qt::ImageConversionFlag > flags) |
void | drawImage (const QRect &target, const QImage &image, const QRect &source, QFlags< Qt::ImageConversionFlag > flags) |
void | drawImage (const QPointF &point, const QImage &image, const QRectF &source, QFlags< Qt::ImageConversionFlag > flags) |
void | drawImage (const QPoint &point, const QImage &image, const QRect &source, QFlags< Qt::ImageConversionFlag > flags) |
void | drawImage (const QRectF &rectangle, const QImage &image) |
void | drawImage (const QRect &rectangle, const QImage &image) |
void | drawImage (const QPointF &point, const QImage &image) |
void | drawImage (const QPoint &point, const QImage &image) |
void | drawImage (int x, int y, const QImage &image, int sx, int sy, int sw, int sh, QFlags< Qt::ImageConversionFlag > flags) |
void | drawLine (const QLineF &line) |
void | drawLine (const QLine &line) |
void | drawLine (int x1, int y1, int x2, int y2) |
void | drawLine (const QPoint &p1, const QPoint &p2) |
void | drawLine (const QPointF &p1, const QPointF &p2) |
void | drawLines (const QLineF *lines, int lineCount) |
void | drawLines (const QVector< QLineF > &lines) |
void | drawLines (const QPointF *pointPairs, int lineCount) |
void | drawLines (const QVector< QPointF > &pointPairs) |
void | drawLines (const QLine *lines, int lineCount) |
void | drawLines (const QVector< QLine > &lines) |
void | drawLines (const QPoint *pointPairs, int lineCount) |
void | drawLines (const QVector< QPoint > &pointPairs) |
void | drawLineSegments (const QPolygon &polygon, int index, int count) |
void | drawPath (const QPainterPath &path) |
void | drawPicture (const QPointF &point, const QPicture &picture) |
void | drawPicture (int x, int y, const QPicture &picture) |
void | drawPicture (const QPoint &point, const QPicture &picture) |
void | drawPie (const QRect &rectangle, int startAngle, int spanAngle) |
void | drawPie (const QRectF &rectangle, int startAngle, int spanAngle) |
void | drawPie (int x, int y, int width, int height, int startAngle, int spanAngle) |
void | drawPixmap (const QRectF &target, const QPixmap &pixmap, const QRectF &source) |
void | drawPixmap (const QRect &target, const QPixmap &pixmap, const QRect &source) |
void | drawPixmap (int x, int y, int w, int h, const QPixmap &pixmap, int sx, int sy, int sw, int sh) |
void | drawPixmap (int x, int y, const QPixmap &pixmap, int sx, int sy, int sw, int sh) |
void | drawPixmap (const QPointF &point, const QPixmap &pixmap, const QRectF &source) |
void | drawPixmap (const QPoint &point, const QPixmap &pixmap, const QRect &source) |
void | drawPixmap (const QPointF &point, const QPixmap &pixmap) |
void | drawPixmap (const QPoint &point, const QPixmap &pixmap) |
void | drawPixmap (const QRect &rectangle, const QPixmap &pixmap) |
void | drawPixmap (int x, int y, int width, int height, const QPixmap &pixmap) |
void | drawPixmap (int x, int y, const QPixmap &pixmap) |
void | drawPixmapFragments (const PixmapFragment *fragments, int fragmentCount, const QPixmap &pixmap, QFlags< QPainter::PixmapFragmentHint > hints) |
void | drawPixmapFragments (const QRectF *targetRects, const QRectF *sourceRects, int fragmentCount, const QPixmap &pixmap, QFlags< QPainter::PixmapFragmentHint > hints) |
void | drawPoint (const QPointF &position) |
void | drawPoint (const QPoint &position) |
void | drawPoint (int x, int y) |
void | drawPoints (const QPolygon &polygon, int index, int count) |
void | drawPoints (const QPointF *points, int pointCount) |
void | drawPoints (const QPolygonF &points) |
void | drawPoints (const QPoint *points, int pointCount) |
void | drawPoints (const QPolygon &points) |
void | drawPolygon (const QPolygonF &polygon, bool winding, int index, int count) |
void | drawPolygon (const QPolygon &polygon, bool winding, int index, int count) |
void | drawPolygon (const QPointF *points, int pointCount, Qt::FillRule fillRule) |
void | drawPolygon (const QPoint *points, int pointCount, Qt::FillRule fillRule) |
void | drawPolygon (const QPolygonF &points, Qt::FillRule fillRule) |
void | drawPolygon (const QPolygon &points, Qt::FillRule fillRule) |
void | drawPolyline (const QPointF *points, int pointCount) |
void | drawPolyline (const QPolygonF &points) |
void | drawPolyline (const QPoint *points, int pointCount) |
void | drawPolyline (const QPolygon &points) |
void | drawPolyline (const QPolygon &polygon, int index, int count) |
void | drawRect (const QRectF &rectangle) |
void | drawRect (int x, int y, int width, int height) |
void | drawRect (const QRect &rectangle) |
void | drawRects (const QRectF *rectangles, int rectCount) |
void | drawRects (const QVector< QRectF > &rectangles) |
void | drawRects (const QRect *rectangles, int rectCount) |
void | drawRects (const QVector< QRect > &rectangles) |
void | drawRoundedRect (const QRectF &rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) |
void | drawRoundedRect (int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) |
void | drawRoundedRect (const QRect &rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) |
void | drawRoundRect (const QRectF &r, int xRnd, int yRnd) |
void | drawRoundRect (const QRect &r, int xRnd, int yRnd) |
void | drawRoundRect (int x, int y, int w, int h, int xRnd, int yRnd) |
void | drawStaticText (int left, int top, const QStaticText &staticText) |
void | drawStaticText (const QPointF &topLeftPosition, const QStaticText &staticText) |
void | drawStaticText (const QPoint &topLeftPosition, const QStaticText &staticText) |
void | drawText (const QPointF &position, const QString &text) |
void | drawText (const QPoint &position, const QString &text) |
void | drawText (int x, int y, const QString &text) |
void | drawText (const QRect &rectangle, int flags, const QString &text, QRect *boundingRect) |
void | drawText (int x, int y, int width, int height, int flags, const QString &text, QRect *boundingRect) |
void | drawText (const QRectF &rectangle, const QString &text, const QTextOption &option) |
void | drawText (const QRectF &rectangle, int flags, const QString &text, QRectF *boundingRect) |
void | drawText (const QPoint &point, const QString &text, int pos, int length) |
void | drawText (int x, int y, const QString &text, int length) |
void | drawText (const QPoint &point, const QString &text, int length) |
void | drawText (int x, int y, const QString &text, int pos, int length) |
void | drawText (const QRect &rectangle, int flags, const QString &text, int length, QRect *br) |
void | drawText (int x, int y, int width, int height, int flags, const QString &text, int length, QRect *br) |
void | drawTiledPixmap (const QRectF &rectangle, const QPixmap &pixmap, const QPointF &position) |
void | drawTiledPixmap (const QRect &rectangle, const QPixmap &pixmap, const QPoint &position) |
void | drawTiledPixmap (int x, int y, int width, int height, const QPixmap &pixmap, int sx, int sy) |
bool | end () |
void | endNativePainting () |
void | eraseRect (const QRectF &rectangle) |
void | eraseRect (int x, int y, int width, int height) |
void | eraseRect (const QRect &rectangle) |
void | fillPath (const QPainterPath &path, const QBrush &brush) |
void | fillRect (int x, int y, int width, int height, const QColor &color) |
void | fillRect (const QRect &rectangle, Qt::BrushStyle style) |
void | fillRect (int x, int y, int width, int height, Qt::GlobalColor color) |
void | fillRect (const QRect &rectangle, Qt::GlobalColor color) |
void | fillRect (const QRect &rectangle, const QBrush &brush) |
void | fillRect (const QRectF &rectangle, const QBrush &brush) |
void | fillRect (int x, int y, int width, int height, const QBrush &brush) |
void | fillRect (const QRectF &rectangle, const QColor &color) |
void | fillRect (const QRect &rectangle, const QColor &color) |
void | fillRect (int x, int y, int width, int height, Qt::BrushStyle style) |
void | fillRect (const QRectF &rectangle, Qt::BrushStyle style) |
void | fillRect (const QRectF &rectangle, Qt::GlobalColor color) |
const QFont & | font () const |
QFontInfo | fontInfo () const |
QFontMetrics | fontMetrics () const |
bool | hasClipping () const |
bool | hasViewXForm () const |
bool | hasWorldXForm () const |
void | initFrom (const QWidget *widget) |
bool | isActive () const |
Qt::LayoutDirection | layoutDirection () const |
const QMatrix & | matrix () const |
bool | matrixEnabled () const |
qreal | opacity () const |
QPaintEngine * | paintEngine () const |
const QPen & | pen () const |
RenderHints | renderHints () const |
void | resetMatrix () |
void | resetTransform () |
void | resetXForm () |
void | restore () |
void | rotate (qreal angle) |
void | save () |
void | scale (qreal sx, qreal sy) |
void | setBackground (const QBrush &brush) |
void | setBackgroundColor (const QColor &color) |
void | setBackgroundMode (Qt::BGMode mode) |
void | setBrush (Qt::BrushStyle style) |
void | setBrush (const QBrush &brush) |
void | setBrushOrigin (const QPointF &position) |
void | setBrushOrigin (const QPoint &position) |
void | setBrushOrigin (int x, int y) |
void | setClipPath (const QPainterPath &path, Qt::ClipOperation operation) |
void | setClipping (bool enable) |
void | setClipRect (const QRectF &rectangle, Qt::ClipOperation operation) |
void | setClipRect (const QRect &rectangle, Qt::ClipOperation operation) |
void | setClipRect (int x, int y, int width, int height, Qt::ClipOperation operation) |
void | setClipRegion (const QRegion ®ion, Qt::ClipOperation operation) |
void | setCompositionMode (CompositionMode mode) |
void | setFont (const QFont &font) |
void | setLayoutDirection (Qt::LayoutDirection direction) |
void | setMatrix (const QMatrix &matrix, bool combine) |
void | setMatrixEnabled (bool enable) |
void | setOpacity (qreal opacity) |
void | setPen (const QColor &color) |
void | setPen (const QPen &pen) |
void | setPen (Qt::PenStyle style) |
void | setRenderHint (RenderHint hint, bool on) |
void | setRenderHints (QFlags< QPainter::RenderHint > hints, bool on) |
void | setTransform (const QTransform &transform, bool combine) |
void | setViewport (int x, int y, int width, int height) |
void | setViewport (const QRect &rectangle) |
void | setViewTransformEnabled (bool enable) |
void | setViewXForm (bool enabled) |
void | setWindow (int x, int y, int width, int height) |
void | setWindow (const QRect &rectangle) |
void | setWorldMatrix (const QMatrix &matrix, bool combine) |
void | setWorldMatrixEnabled (bool enable) |
void | setWorldTransform (const QTransform &matrix, bool combine) |
void | setWorldXForm (bool enabled) |
void | shear (qreal sh, qreal sv) |
void | strokePath (const QPainterPath &path, const QPen &pen) |
bool | testRenderHint (RenderHint hint) const |
const QTransform & | transform () const |
void | translate (const QPointF &offset) |
void | translate (const QPoint &offset) |
void | translate (qreal dx, qreal dy) |
qreal | translationX () const |
qreal | translationY () const |
QRect | viewport () const |
bool | viewTransformEnabled () const |
QRect | window () const |
const QMatrix & | worldMatrix () const |
bool | worldMatrixEnabled () const |
const QTransform & | worldTransform () const |
QPoint | xForm (const QPoint &point) const |
QPolygon | xForm (const QPolygon &polygon) const |
QPolygon | xForm (const QPolygon &polygon, int index, int count) const |
QRect | xForm (const QRect &rectangle) const |
QPoint | xFormDev (const QPoint &point) const |
QPolygon | xFormDev (const QPolygon &polygon) const |
QPolygon | xFormDev (const QPolygon &polygon, int index, int count) const |
QRect | xFormDev (const QRect &rectangle) const |
Additional Inherited Members | |
Static Public Member Functions inherited from QPainter | |
void | redirect (QPaintDevice *pdev, QPaintDevice *replacement) |
QPaintDevice * | redirect (QPaintDevice *pdev) |
QPaintDevice * | redirected (const QPaintDevice *device, QPoint *offset) |
void | restoreRedirected (const QPaintDevice *device) |
void | setRedirected (const QPaintDevice *device, QPaintDevice *replacement, const QPoint &offset) |
Public Attributes inherited from QPainter | |
typedef | PixmapFragmentHints |
typedef | RenderHints |
Detailed Description
Definition at line 51 of file ClipPainter.h.
Constructor & Destructor Documentation
ClipPainter::ClipPainter | ( | ) |
Definition at line 112 of file ClipPainter.cpp.
ClipPainter::ClipPainter | ( | QPaintDevice * | pd, |
bool | clip | ||
) |
Definition at line 102 of file ClipPainter.cpp.
ClipPainter::~ClipPainter | ( | ) |
Definition at line 118 of file ClipPainter.cpp.
Member Function Documentation
void ClipPainter::drawPolygon | ( | const QPolygonF & | polygon, |
Qt::FillRule | fillRule = Qt::OddEvenFill |
||
) |
Definition at line 136 of file ClipPainter.cpp.
void ClipPainter::drawPolyline | ( | const QPolygonF & | polygon | ) |
Definition at line 166 of file ClipPainter.cpp.
void ClipPainter::drawPolyline | ( | const QPolygonF & | polygon, |
QVector< QPointF > & | labelNodes, | ||
LabelPositionFlags | labelPositionFlag = LineCenter |
||
) |
Definition at line 196 of file ClipPainter.cpp.
bool ClipPainter::isClipping | ( | ) | const |
Definition at line 130 of file ClipPainter.cpp.
void ClipPainter::setClipping | ( | bool | enable | ) |
Definition at line 124 of file ClipPainter.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.