globalmapper.ConvertCoordPixelToGroundDouble ============================================ .. currentmodule:: globalmapper .. py:function:: ConvertCoordPixelToGroundDouble (float aPixelX, float aPixelY, GM_Rectangle_t aWorldBounds, GM_PixelRect_t aPixelRect) -> GM_Error_t32, float, float Convert a coordinate between pixel space and the current projection. The conversion space can be either the last drawn coordinate space or the caller can provide the coordinate space to work in. Note that the input pixel coordinates are floats. If you want to use sint32's instead, use the function :doc:`ConvertCoordPixelToGround`. :param float aPixelX: X Coord in pixel space :param float aPixelY: Y Coord in pixel space :param GM_Rectangle_t aWorldBounds: World bounds to convert from or None for last drawn :param GM_PixelRect_t aPixelRect: Pixel bounds to convert from or None for last drawn :returns: Error Code :rtype: GM_Error_t32 :return: X Coord in current projection :rtype: float :return: Y Coord in current projection :rtype: float