This renderer translates a map feature whose geometry is a predefined subclass of IlvMapCurve
into an IlvMapGeneralPath
or into an IlvGraphicSet
of IlvMapGeneralPath
if the geometry is an IlvMapMultiCurve
.
More...
#include <ilviews/maps/rendering/curverdr.h>
This renderer translates a map feature whose geometry is a predefined subclass of IlvMapCurve
into an IlvMapGeneralPath
or into an IlvGraphicSet
of IlvMapGeneralPath
if the geometry is an IlvMapMultiCurve
.
Library: ilvmaps
◆ IlvDefaultCurveRenderer() [1/2]
IlvDefaultCurveRenderer::IlvDefaultCurveRenderer |
( |
IlvDisplay * |
display | ) |
|
Initializes a new instance of the renderer.
- Parameters
-
display | The display used to create the graphic objects. |
◆ IlvDefaultCurveRenderer() [2/2]
Initializes a new instance of the renderer as a copy of another one.
- Parameters
-
source | The object to be copied. |
◆ getLineRenderingStyle()
Returns the line rendering style.
- Returns
- The line rendering style for this renderer.
◆ makeGraphic()
Translates an IlvMapFeature
into a graphic object.
If the targetMapInfo has a non-null projection, or a projection that is not an instance of IlvUnknownProjection
, the graphic object is projected to the projection system of targetMapInfo. Otherwise, only the map adapter of targetMapInfo is used to convert the feature coordinate into the manager coordinate system.
- Parameters
-
feature | The map feature to be translated. |
targetMapInfo | This parameter specifies the projection in which the graphic object must be returned. If this projection is not defined (targetMapInfo.getProjection() is 0 ), the graphic object is returned to the projection of the map feature (only the map adapter is used) |
status | Is 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). |
- Returns
- The created
IlvGraphic
or a 0
if a severe error occurred.
Implements IlvFeatureRenderer.
◆ setLineRenderingStyle()
Sets the rendering style for the lines.
- Parameters
-
lineRenderingStyle | The line rendering style. This object can be shared by other objects. |