globalmapper.ConvertCoordGroundToPixelDouble ============================================ .. currentmodule:: globalmapper .. py:function:: ConvertCoordGroundToPixelDouble (float aGroundX, float aGroundY, GM_Rectangle_t aWorldBounds, GM_PixelRect_t aPixelRect) -> GM_Error_t32, float, float Convert 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. The results will be returned as floats. To get sint32's instead, use the function :doc:`ConvertCoordGroundToPixel`. :param float aGroundX: X Coord in current projection :param float aGroundY: Y Coord in current projection :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 pixel space :rtype: float :return: Y Coord in pixel space :rtype: float