16 #ifndef QGSMAPRENDERERSTAGEDRENDERJOB_H
17 #define QGSMAPRENDERERSTAGEDRENDERJOB_H
19 #include "qgis_core.h"
42 RenderLabelsByMapLayer = 0x01,
44 Q_DECLARE_FLAGS( Flags, Flag )
65 void start()
override;
78 bool renderCurrentPart( QPainter *painter );
91 bool isFinished() const;
96 QString currentLayerId() const;
103 double currentLayerOpacity() const;
110 QPainter::CompositionMode currentLayerCompositionMode() const;
115 RenderStage currentStage() const;
121 LayerRenderJobs mLayerJobs;
122 LabelRenderJob mLabelJob;
123 LayerRenderJobs::iterator mJobIt;
125 bool mNextIsLabel = false;
126 bool mExportedLabels = false;
127 Flags mFlags = Flags();
128 bool mPreparedStagedLabelJob = false;
129 QStringList mLabelingLayers;
130 QStringList::iterator mLabelLayerIt;
133 #endif // QGSMAPRENDERERSTAGEDRENDERJOB_H