Click or drag to resize

GM_CalcWorldRectSize

Calculates the width and height of a rectangle in the current projection. The rectangle can either be specified or the last drawn rectangle can be used.

Syntax
GM_Error_t32 GM_CalcWorldRectSize
(
const GM_Rectangle_t*   aWorldBounds,   // IN: World bounds to calc size of or NULL for last drawn
double*                 aWidthMeters,   // OUT: Width of rectangle in meters
double*                 aHeightMeters   // OUT: Height of rectangle in meters
);