Click or drag to resize

GM_GPSUtilGPSRenderVessel Method

Renders a GPS vessel of the given size to the provided device context at the current GPS location.

Namespace:  GlobalMapper.GPS
Assembly:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
public static GM_Error_t32 GPSRenderVessel(
	IntPtr aDC,
	GM_Rectangle_t aWorldBounds,
	GM_PixelRect_t aPixelRect,
	uint aVesselHeight,
	uint aVesselWidth,
	uint aVesselColor
)

Parameters

aDC
Type: SystemIntPtr
(HDC) Device context to draw to
aWorldBounds
Type: GlobalMapper.TypesGM_Rectangle_t
(const GM_Rectangle_t*) IN: World bounds to convert from or NULL for last drawn
aPixelRect
Type: GlobalMapper.TypesGM_PixelRect_t
(const GM_PixelRect_t*) IN: Pixel bounds to convert from or NULL for last drawn
aVesselHeight
Type: SystemUInt32
IN: The vessel height in pixels
aVesselWidth
Type: SystemUInt32
IN: The vessel width in pixels
aVesselColor
Type: SystemUInt32
(COLORREF) IN: The color to render the vessel in

Return Value

Type: GM_Error_t32
A GM Error Code
See Also