| GM_GPSUtil .GPSRenderVessel Method |
Renders a GPS vessel of the given size to the provided device context
at the current GPS location.
Namespace:GlobalMapper.GPS
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
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:
System
.
IntPtr
(HDC) Device context to draw to - aWorldBounds
-
Type:
GlobalMapper
.
GM_Rectangle_t
(const GM_Rectangle_t*) IN: World bounds to convert from or NULL for last drawn - aPixelRect
-
Type:
GlobalMapper
.
GM_PixelRect_t
(const GM_PixelRect_t*) IN: Pixel bounds to convert from or NULL for last drawn - aVesselHeight
-
Type:
System
.
UInt32
IN: The vessel height in pixels - aVesselWidth
-
Type:
System
.
UInt32
IN: The vessel width in pixels - aVesselColor
-
Type:
System
.
UInt32
(COLORREF) IN: The color to render the vessel in
Return Value
Type: GM_Error_t32A GM Error Code