Rogue Wave Views Maps Package API Reference Guide |
Rogue Wave Views Documentation Home |
This renderer translates a map feature whose geometry is an IlvMapImage
into an IlvZoomableIcon
.
More...
#include <ilviews/maps/rendering/imagerdr.h>
Public Member Functions | |
IlvDefaultImageRenderer (IlvDisplay *display) | |
Initializes a new instance of the renderer. More... | |
IlvDefaultImageRenderer (const IlvDefaultImageRenderer &source) | |
Initializes a new IlvDefaultImageRenderer by copying an existing one. More... | |
IlvGraphic * | makeGraphic (const IlvMapFeature &feature, const IlvMapInfo &targetMapInfo, IlvMapsError &status) const |
Translates an IlvMapFeature into a graphic object. More... | |
Public Member Functions inherited from IlvFeatureRenderer | |
virtual IlvFeatureRenderer * | copy () const =0 |
Copies the object. More... | |
IlvDisplay * | getDisplay () const |
Returns the renderer display. More... | |
IlBoolean | isPersistent () const |
Checks if the renderer can be saved. More... | |
void | save (IlvOutputFile &file) const |
Saves the object to an IlvOutputFile . More... | |
virtual void | write (IlvOutputFile &file) const =0 |
Writes the renderer to an IlvOutputStream . More... | |
Static Public Member Functions | |
static IlvMapsError | BitmapError () |
The error code returned if an error occurred during the bitmap data creation. More... | |
Static Public Member Functions inherited from IlvFeatureRenderer | |
static IlvFeatureRenderer * | Load (IlvInputFile &file) |
Loads a renderer from an IlvInputFile . More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IlvFeatureRenderer | |
IlvFeatureRenderer (IlvDisplay *display, IlBoolean persistent=IlTrue) | |
Constructor. More... | |
This renderer translates a map feature whose geometry is an IlvMapImage
into an IlvZoomableIcon
.
Library: ilvmaps
IlvDefaultImageRenderer::IlvDefaultImageRenderer | ( | IlvDisplay * | display | ) |
Initializes a new instance of the renderer.
display | The display used to create the graphic objects. |
IlvDefaultImageRenderer::IlvDefaultImageRenderer | ( | const IlvDefaultImageRenderer & | source | ) |
Initializes a new IlvDefaultImageRenderer
by copying an existing one.
source | The object to be copied. |
|
static |
The error code returned if an error occurred during the bitmap data creation.
IlvMapsError
returned if an error occurred during the bitmap data creation. makeGraphic()
.
|
virtual |
Translates an IlvMapFeature
into a graphic object.
feature | The map feature to be translated. |
targetMapInfo | The target map info. |
status | Set to an error code if the renderer cannot process the map feature (most of the time, because the renderer does not support the feature geometry, but it can also indicate that a projection error occurred). |
IlvGraphic
object or 0
if a severe error occurred. Implements IlvFeatureRenderer.
© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.