GM_LayerList_tDrawToMemory Method (GM_DrawFlags_t32, GM_Rectangle_t, GM_ColorFormat_t32, Int32, Int32, IntPtr, 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 GM_Error_t32 DrawToMemory(
GM_DrawFlags_t32 aDrawFlags,
GM_Rectangle_t aWorldBounds,
GM_ColorFormat_t32 aColorFormat,
int aPixelWidth,
int aPixelHeight,
IntPtr aDataBuf,
int aRowWidthBytes
)
Public Function DrawToMemory (
aDrawFlags As GM_DrawFlags_t32,
aWorldBounds As GM_Rectangle_t,
aColorFormat As GM_ColorFormat_t32,
aPixelWidth As Integer,
aPixelHeight As Integer,
aDataBuf As IntPtr,
aRowWidthBytes As Integer
) As GM_Error_t32
public:
GM_Error_t32 DrawToMemory(
GM_DrawFlags_t32 aDrawFlags,
GM_Rectangle_t^ aWorldBounds,
GM_ColorFormat_t32 aColorFormat,
int aPixelWidth,
int aPixelHeight,
IntPtr aDataBuf,
int aRowWidthBytes
)
Parameters
- 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: SystemIntPtr
(void*) Buffer to hold output color data - aRowWidthBytes
- Type: SystemInt32
Width of a single row in the array in bytes
Return Value
Type:
GM_Error_t32A GM Error Code
See Also