QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
QgsPluginLayerRenderer Class Reference

Fallback layer renderer implementation for layer that do not support map renderer yet. More...

Inheritance diagram for QgsPluginLayerRenderer:
Inheritance graph
[legend]
Collaboration diagram for QgsPluginLayerRenderer:
Collaboration graph
[legend]

Public Member Functions

 QgsPluginLayerRenderer (QgsPluginLayer *layer, QgsRenderContext &rendererContext)
 
virtual bool render ()
 Do the rendering (based on data stored in the class) More...
 
- Public Member Functions inherited from QgsMapLayerRenderer
 QgsMapLayerRenderer (const QString &layerID)
 
virtual ~QgsMapLayerRenderer ()
 
QStringList errors () const
 Return list of errors (problems) that happened during the rendering. More...
 
QString layerID () const
 Get access to the ID of the layer rendered by this class. More...
 

Protected Attributes

QgsPluginLayermLayer
 
QgsRenderContextmRendererContext
 
- Protected Attributes inherited from QgsMapLayerRenderer
QStringList mErrors
 
QString mLayerID
 

Detailed Description

Fallback layer renderer implementation for layer that do not support map renderer yet.

Note
added in 2.4

Definition at line 46 of file qgspluginlayer.cpp.

Constructor & Destructor Documentation

QgsPluginLayerRenderer::QgsPluginLayerRenderer ( QgsPluginLayer layer,
QgsRenderContext rendererContext 
)
inline

Definition at line 49 of file qgspluginlayer.cpp.

Member Function Documentation

virtual bool QgsPluginLayerRenderer::render ( )
inlinevirtual

Do the rendering (based on data stored in the class)

Implements QgsMapLayerRenderer.

Definition at line 55 of file qgspluginlayer.cpp.

References QgsMapLayer::draw(), mLayer, and mRendererContext.

Member Data Documentation

QgsPluginLayer* QgsPluginLayerRenderer::mLayer
protected

Definition at line 61 of file qgspluginlayer.cpp.

Referenced by render().

QgsRenderContext& QgsPluginLayerRenderer::mRendererContext
protected

Definition at line 62 of file qgspluginlayer.cpp.

Referenced by render().


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