16#ifndef QGSMAPLAYERRENDERER_H 
   17#define QGSMAPLAYERRENDERER_H 
   89    virtual bool forceRasterRender() 
const;
 
  104    QStringList 
errors()
 const { 
return mErrors; }
 
  152    QList< QgsRenderedItemDetails * > takeRenderedItemDetails() 
SIP_TRANSFERBACK;
 
  174    bool mReadyToCompose = true;
 
  184    static constexpr 
int MAX_TIME_TO_USE_CACHED_PREVIEW_IMAGE = 3000 
SIP_SKIP;
 
 
QFlags< MapLayerRendererFlag > MapLayerRendererFlags
Flags which control how map layer renderers behave.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Base class for utility classes that encapsulate information necessary for rendering of map layers.
const QgsRenderContext * renderContext() const
Returns the render context associated with the renderer.
virtual bool render()=0
Do the rendering (based on data stored in the class).
bool isReadyToCompose() const
Returns whether the renderer has already drawn (at least partially) some data.
QString layerId() const
Gets access to the ID of the layer rendered by this class.
virtual ~QgsMapLayerRenderer()
QgsRenderContext * renderContext()
Returns the render context associated with the renderer.
QStringList errors() const
Returns list of errors (problems) that happened during the rendering.
QgsMapLayerRenderer(const QString &layerID, QgsRenderContext *context=nullptr)
Constructor for QgsMapLayerRenderer, with the associated layerID and render context.
virtual void setLayerRenderingTimeHint(int time)
Sets approximate render time (in ms) for the layer to render.
Contains information about the context of a rendering operation.
Base class for detailed information about a rendered item.