NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
ISymbolizer Class Referenceabstract

Symbolizer. More...

#include <sdl_interface.h>

Inherits ISDKComponent.

Public Member Functions

virtual SDKResult SDK_CALLTYPE CreateVisualObject (IVisualObjectSP &vo, SDKUInt16 symbol_id, const sdk::gfx::RenderTargetSP &target, float symbol_scale, const sdk::base::SDKStreamSP &params)=0 throw ()
 Creates visual object for the specified target. More...
 
virtual SDKResult SDK_CALLTYPE CombineVisualObjects (IVisualObjectSP &parent_vo, IVisualObjectSP &child_vo, AnchorType anchor, float x_offset, float y_offset)=0 throw ()
 Combines the specified visual objects into the specified layout. More...
 

Detailed Description

Symbolizer.

Member Function Documentation

◆ CreateVisualObject()

virtual SDKResult SDK_CALLTYPE CreateVisualObject ( IVisualObjectSP &  vo,
SDKUInt16  symbol_id,
const sdk::gfx::RenderTargetSP &  target,
float  symbol_scale,
const sdk::base::SDKStreamSP &  params 
)
throw (
)
pure virtual

Creates visual object for the specified target.

Parameters
[out]voSmart pointer to the IVisualObject interface associated with the created visual object.
[in]symbol_idIndex of the registered SDL symbol.
[in]symbol_scaleInitial symbol scale factor.
[in]paramsOptional symbol parameters stream.
Returns
kSDKResult_Succeeded if OK
kSDKResult_NotFound if there are not potential sprites
kSDKResult_InvalidArgument if there is no symbol with specified ID
kSDKResult_NotImplemented

◆ CombineVisualObjects()

virtual SDKResult SDK_CALLTYPE CombineVisualObjects ( IVisualObjectSP &  parent_vo,
IVisualObjectSP &  child_vo,
AnchorType  anchor,
float  x_offset,
float  y_offset 
)
throw (
)
pure virtual

Combines the specified visual objects into the specified layout.

Parameters
[in]parent_voParent visual object.
[in]child_voChild visual object.
[in]anchorLayout anchor.
[in]x_offsetOptional X-axes offset.
[in]y_offsetOptional Y-axes offset.
Returns
kSDKResult_Succeeded if OK
kSDKResult_NotImplemented



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