QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Mask painter device that can be used to register everything painted into a QPainterPath used later as clip path. More...
#include <qgsmaskpaintdevice.h>
Public Member Functions | |
Q_DECL_DEPRECATED | QgsMaskPaintDevice (bool usePathStroker=false) |
Q_DECL_DEPRECATED QPainterPath | maskPainterPath () const |
Returns the mask painter path painted on this paint device. | |
int | metric (PaintDeviceMetric metric) const override |
QPaintEngine * | paintEngine () const override |
Mask painter device that can be used to register everything painted into a QPainterPath used later as clip path.
Definition at line 63 of file qgsmaskpaintdevice.h.
QgsMaskPaintDevice::QgsMaskPaintDevice | ( | bool | usePathStroker = false | ) |
Constructor If usePathStroker is true
, path will be considered with a stroke regarding QPainter pen configuration
Definition at line 62 of file qgsmaskpaintdevice.cpp.
QPainterPath QgsMaskPaintDevice::maskPainterPath | ( | ) | const |
Returns the mask painter path painted on this paint device.
Definition at line 117 of file qgsmaskpaintdevice.cpp.
|
override |
Definition at line 72 of file qgsmaskpaintdevice.cpp.
|
override |
Definition at line 67 of file qgsmaskpaintdevice.cpp.