Global Mapper SDK
GM_DrawLayerListEx
Draws the specified portion of the specified layers to the device context.If no layers are explicitly specified, all loaded layers will be drawn. Supports additional options.
Syntax
C++
Copy
GM_Error_t32 GM_DrawLayerList
(
HDC aDC, // Device context to draw to
GM_LayerHandle_t32* aLayerList, // List of layers to draw or NULL for all
uint32 aLayerCount, // Number of layers in list (0 for all)
GM_DrawFlags_t32 aDrawFlags, // Flags controlling how the draw is performed
const GM_Rectangle_t* aWorldBounds, // World bounds to draw or NULL for all
sint32 aLeftPixel, // Left pixel coordinate to draw to
sint32 aTopPixel, // Top pixel coordinate to draw to
sint32 aPixelWidth, // Width in pixels to draw
sint32 aPixelHeight // Height in pixels to draw
const char* aExtraOpts // Optional string containing extra options in "name=value" form, like "ORIENTATION=30"
);