GM_ConvertCoordGroundToPixel |
The GM_ConvertCoordGroundToPixel function converts a coordinate between the current projection and pixel space. The conversion space can be either the last drawn coordinate space or the caller can provide the coordinate space to work in.
GM_Error_t32 GM_ConvertCoordGroundToPixel ( double aGroundX, // IN: X Coord in current projection double aGroundY, // IN: Y Coord in current projection sint32* aPixelX, // OUT: X Coord in pixel space sint32* aPixelY, // OUT: Y Coord in pixel space const GM_Rectangle_t* aWorldBounds, // IN: World bounds to convert from or NULL for last drawn const GM_PixelRect_t* aPixelRect // IN: Pixel bounds to convert from or NULL for last drawn );
Copyright © 2020 Blue Marble Geographics. All Rights Reserved