QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
Static Public Member Functions | List of all members
QgsPainting Class Reference

Misc painting enums and functions. More...

#include <qgspainting.h>

Static Public Member Functions

static Qgis::BlendMode getBlendModeEnum (QPainter::CompositionMode blendMode)
 Returns a BlendMode corresponding to a QPainter::CompositionMode. More...
 
static QPainter::CompositionMode getCompositionMode (Qgis::BlendMode blendMode)
 Returns a QPainter::CompositionMode corresponding to a BlendMode. More...
 
static bool isClippingMode (Qgis::BlendMode mode)
 Returns true if mode is a clipping blend mode. More...
 

Detailed Description

Misc painting enums and functions.

Since
QGIS 3.0

Definition at line 29 of file qgspainting.h.

Member Function Documentation

◆ getBlendModeEnum()

Qgis::BlendMode QgsPainting::getBlendModeEnum ( QPainter::CompositionMode  blendMode)
static

Returns a BlendMode corresponding to a QPainter::CompositionMode.

Definition at line 80 of file qgspainting.cpp.

◆ getCompositionMode()

QPainter::CompositionMode QgsPainting::getCompositionMode ( Qgis::BlendMode  blendMode)
static

Returns a QPainter::CompositionMode corresponding to a BlendMode.

Definition at line 20 of file qgspainting.cpp.

◆ isClippingMode()

bool QgsPainting::isClippingMode ( Qgis::BlendMode  mode)
static

Returns true if mode is a clipping blend mode.

Since
QGIS 3.30

Definition at line 139 of file qgspainting.cpp.


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