GM_LayerList_tDrawLayerListToMemory Method (GM_LayerList_t, GM_DrawFlags_t32, GM_Rectangle_t, GM_ColorFormat_t32, Int32, Int32, Byte, Int32) |
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:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static MemoryStream DrawLayerListToMemory(
GM_LayerList_t aLayerList,
GM_DrawFlags_t32 aDrawFlags,
GM_Rectangle_t aWorldBounds,
GM_ColorFormat_t32 aColorFormat,
int aPixelWidth,
int aPixelHeight,
out byte[] aDataBuf,
int aRowWidthBytes
)
Public Shared Function DrawLayerListToMemory (
aLayerList As GM_LayerList_t,
aDrawFlags As GM_DrawFlags_t32,
aWorldBounds As GM_Rectangle_t,
aColorFormat As GM_ColorFormat_t32,
aPixelWidth As Integer,
aPixelHeight As Integer,
<OutAttribute> ByRef aDataBuf As Byte(),
aRowWidthBytes As Integer
) As MemoryStream
public:
static MemoryStream^ DrawLayerListToMemory(
GM_LayerList_t^ aLayerList,
GM_DrawFlags_t32 aDrawFlags,
GM_Rectangle_t^ aWorldBounds,
GM_ColorFormat_t32 aColorFormat,
int aPixelWidth,
int aPixelHeight,
[OutAttribute] array<unsigned char>^% aDataBuf,
int aRowWidthBytes
)
Parameters
- aLayerList
- Type: GlobalMapper.TypesGM_LayerList_t
(GM_LayerHandle_t32*)List of layers to draw or NULL for all - aDrawFlags
- Type: GlobalMapper.TypesGM_DrawFlags_t32
Flags controlling how the draw is performed - aWorldBounds
- Type: GlobalMapper.TypesGM_Rectangle_t
(GM_Rectangle_t*) World bounds to draw or NULL for all - aColorFormat
- Type: GlobalMapper.TypesGM_ColorFormat_t32
Color format used in data buffer - aPixelWidth
- Type: SystemInt32
Width in pixels to draw - aPixelHeight
- Type: SystemInt32
Height in pixels to draw - aDataBuf
- Type: SystemByte
Byte Buffer to hold output color data - aRowWidthBytes
- Type: SystemInt32
Width of a single row in the array in bytes
Return Value
Type:
MemoryStreamA GM Error Code
See Also