QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
Misc painting enums and functions. More...
#include <qgspainting.h>
Public Types | |
enum | BlendMode { BlendNormal , BlendLighten , BlendScreen , BlendDodge , BlendAddition , BlendDarken , BlendMultiply , BlendBurn , BlendOverlay , BlendSoftLight , BlendHardLight , BlendDifference , BlendSubtract , BlendSource , BlendDestinationOver , BlendClear , BlendDestination , BlendSourceIn , BlendDestinationIn , BlendSourceOut , BlendDestinationOut , BlendSourceAtop , BlendDestinationAtop , BlendXor } |
Blending modes enum defining the available composition modes that can be used when rendering a layer. More... | |
Static Public Member Functions | |
static QgsPainting::BlendMode | getBlendModeEnum (QPainter::CompositionMode blendMode) |
Returns a BlendMode corresponding to a QPainter::CompositionMode. More... | |
static QPainter::CompositionMode | getCompositionMode (QgsPainting::BlendMode blendMode) |
Returns a QPainter::CompositionMode corresponding to a BlendMode. More... | |
Blending modes enum defining the available composition modes that can be used when rendering a layer.
Definition at line 36 of file qgspainting.h.
|
static |
Returns a BlendMode corresponding to a QPainter::CompositionMode.
Definition at line 80 of file qgspainting.cpp.
|
static |
Returns a QPainter::CompositionMode corresponding to a BlendMode.
Definition at line 20 of file qgspainting.cpp.