QgsPainting class

Misc painting enums and functions.

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.

Public static functions

static auto getBlendModeEnum(QPainter::CompositionMode blendMode) -> QgsPainting::BlendMode
Returns a BlendMode corresponding to a QPainter::CompositionMode.
static auto getCompositionMode(QgsPainting::BlendMode blendMode) -> QPainter::CompositionMode
Returns a QPainter::CompositionMode corresponding to a BlendMode.