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

A QGraphicsEffect subclass used for rendering layout items onto a scene with custom composition modes. More...

#include <qgslayouteffect.h>

Inheritance diagram for QgsLayoutEffect:

Public Member Functions

 QgsLayoutEffect ()=default
Q_DECL_DEPRECATED QPainter::CompositionMode compositionMode () const
 Returns the composition (blending) mode used for rendering the item.
Q_DECL_DEPRECATED void setCompositionMode (QPainter::CompositionMode mode)
 Sets the composition (blending) mode used for rendering the item.

Protected Member Functions

void draw (QPainter *painter) override

Detailed Description

A QGraphicsEffect subclass used for rendering layout items onto a scene with custom composition modes.

Deprecated
QGIS 3.34. This class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.

Definition at line 36 of file qgslayouteffect.h.

Constructor & Destructor Documentation

◆ QgsLayoutEffect()

QgsLayoutEffect::QgsLayoutEffect ( )
default

Member Function Documentation

◆ compositionMode()

Q_DECL_DEPRECATED QPainter::CompositionMode QgsLayoutEffect::compositionMode ( ) const
inline

Returns the composition (blending) mode used for rendering the item.

See also
setCompositionMode()
Deprecated
QGIS 3.34. This class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.

Definition at line 60 of file qgslayouteffect.h.

◆ draw()

void QgsLayoutEffect::draw ( QPainter * painter)
overrideprotected

Definition at line 24 of file qgslayouteffect.cpp.

◆ setCompositionMode()

void QgsLayoutEffect::setCompositionMode ( QPainter::CompositionMode mode)

Sets the composition (blending) mode used for rendering the item.

See also
compositionMode()
Deprecated
QGIS 3.34. This class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.

Definition at line 55 of file qgslayouteffect.cpp.


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