te::qt::widgets::ExternalGraphicRenderer Class Reference

A concrete renderer based on Qt4 for conversion of Symbology Enconding External Graphic elements to an image pattern. More...

#include <ExternalGraphicRenderer.h>

Inheritance diagram for te::qt::widgets::ExternalGraphicRenderer:
te::map::AbstractExternalGraphicRenderer

Public Member Functions

 ExternalGraphicRenderer ()
 Constructor. More...
 
te::color::RGBAColor ** render (const te::se::ExternalGraphic *eg, std::size_t height, std::size_t &width)
 It generates the image pattern from the given Symbology Enconding External Graphic element. More...
 
 ~ExternalGraphicRenderer ()
 Destructor. More...
 

Detailed Description

A concrete renderer based on Qt4 for conversion of Symbology Enconding External Graphic elements to an image pattern.

See also
AbstractExternalGraphicRenderer

Definition at line 46 of file ExternalGraphicRenderer.h.

Constructor & Destructor Documentation

te::qt::widgets::ExternalGraphicRenderer::ExternalGraphicRenderer ( )

Constructor.

te::qt::widgets::ExternalGraphicRenderer::~ExternalGraphicRenderer ( )

Destructor.

Member Function Documentation

te::color::RGBAColor** te::qt::widgets::ExternalGraphicRenderer::render ( const te::se::ExternalGraphic eg,
std::size_t  height,
std::size_t &  width 
)
virtual

It generates the image pattern from the given Symbology Enconding External Graphic element.

Parameters
egThe Symbology Enconding External Graphic element that will be used to build the image pattern.
heightThe height of image pattern that will be generated.
widthAn output parameter that will be filled with the width of generated image pattern.
Returns
The RGBA image that represents the external graphic.
Note
If the given Symbology Enconding External Graphic element cannot be processed by the renderer the method should return a NULL pointer.
The caller will take the ownership of the returned pointer.

Implements te::map::AbstractExternalGraphicRenderer.


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