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

Namespace:  GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
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: GlobalMapperGM_Rectangle_t
(const GM_Rectangle_t*) IN: World bounds to convert from or NULL for last drawn
aPixelRect
Type: GlobalMapperGM_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