QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
qgsmaplayerrenderer.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsmaplayerrenderer.cpp
3 --------------------------------------
4 Date : August 2021
5 Copyright : (C) 2021 by Nyall Dawson
6 Email : nyall dot dawson at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#include "qgsmaplayerrenderer.h"
18
20
21
23{
24 return false;
25}
26
31
33{
34 return nullptr;
35}
36
37QList<QgsRenderedItemDetails *> QgsMapLayerRenderer::takeRenderedItemDetails()
38{
39 return std::move( mRenderedItemDetails );
40}
41
43{
44 mRenderedItemDetails.append( details );
45}
QFlags< MapLayerRendererFlag > MapLayerRendererFlags
Flags which control how map layer renderers behave.
Definition qgis.h:2613
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Definition qgsfeedback.h:44
void appendRenderedItemDetails(QgsRenderedItemDetails *details)
Appends the details of a rendered item to the renderer.
virtual QgsFeedback * feedback() const
Access to feedback object of the layer renderer (may be nullptr)
virtual bool forceRasterRender() const
Returns true if the renderer must be rendered to a raster paint device (e.g.
virtual Qgis::MapLayerRendererFlags flags() const
Returns flags which control how the map layer rendering behaves.
virtual ~QgsMapLayerRenderer()
QList< QgsRenderedItemDetails * > takeRenderedItemDetails()
Takes the list of rendered item details from the renderer.
Base class for detailed information about a rendered item.