Global Mapper SDK
| GM_LayerList_t .DrawLayerListToMemory Method |
Draws the specified portion of the specified layers to the provided memory
buffer. If no layers are explicitly specified, all loaded layers will be drawn.
Namespace:GlobalMapper.Types
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
public static GM_Error_t32 DrawLayerListToMemory ( GM_LayerList_t aLayerList , GM_DrawFlags_t32 aDrawFlags , GM_Rectangle_t aWorldBounds , GM_ColorFormat_t32 aColorFormat , int aPixelWidth , int aPixelHeight , IntPtr aDataBuf , int aRowWidthBytes )
Parameters
- aLayerList
-
Type:
GlobalMapper
.
GM_LayerList_t
(GM_LayerHandle_t32*)List of layers to draw or NULL for all - aDrawFlags
-
Type:
GlobalMapper
.
GM_DrawFlags_t32
Flags controlling how the draw is performed - aWorldBounds
-
Type:
GlobalMapper
.
GM_Rectangle_t
(GM_Rectangle_t*) World bounds to draw or NULL for all - aColorFormat
-
Type:
GlobalMapper
.
GM_ColorFormat_t32
Color format used in data buffer - aPixelWidth
-
Type:
System
.
Int32
Width in pixels to draw - aPixelHeight
-
Type:
System
.
Int32
Height in pixels to draw - aDataBuf
-
Type:
System
.
IntPtr
(void*) Buffer to hold output color data - aRowWidthBytes
-
Type:
System
.
Int32
Width of a single row in the array in bytes
Return Value
Type: GM_Error_t32A GM Error Code
Comments
0 comments
Please sign in to leave a comment.