Global Mapper SDK
GM_DrawPackageList
Draws the specified portion of the specified packages to the device context. If no packages are explicitly specified, all packages loaded with the GM_LoadPackage function will be drawn.
Syntax
C++
Copy
GM_Error_t32 GM_DrawPackageList
(
HDC aDC, // Device context to draw to
GM_PackageHandle_t32* aPackageList, // List of packages to draw or NULL for all
uint32 aPackageCount, // Number of packages 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
);