QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsMaskPaintDevice Class Reference

Mask painter device that can be used to register everything painted into a QPainterPath used later as clip path. More...

#include <qgsmaskpaintdevice.h>

Inheritance diagram for QgsMaskPaintDevice:

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

Detailed Description

Mask painter device that can be used to register everything painted into a QPainterPath used later as clip path.

Deprecated
QGIS 3.38. Use QgsGeometryPaintDevice instead.

Definition at line 64 of file qgsmaskpaintdevice.h.

Constructor & Destructor Documentation

◆ QgsMaskPaintDevice()

QgsMaskPaintDevice::QgsMaskPaintDevice ( bool usePathStroker = false)

Constructor If usePathStroker is true, path will be considered with a stroke regarding QPainter pen configuration

Deprecated
QGIS 3.38. Use QgsGeometryPaintDevice instead.

Definition at line 63 of file qgsmaskpaintdevice.cpp.

Member Function Documentation

◆ maskPainterPath()

QPainterPath QgsMaskPaintDevice::maskPainterPath ( ) const

Returns the mask painter path painted on this paint device.

Deprecated
QGIS 3.40. Use QgsGeometryPaintDevice instead.

Definition at line 118 of file qgsmaskpaintdevice.cpp.

◆ metric()

int QgsMaskPaintDevice::metric ( PaintDeviceMetric metric) const
override

Definition at line 73 of file qgsmaskpaintdevice.cpp.

◆ paintEngine()

QPaintEngine * QgsMaskPaintDevice::paintEngine ( ) const
override

Definition at line 68 of file qgsmaskpaintdevice.cpp.


The documentation for this class was generated from the following files: