GM_ConvertCoordPixelToGroundWithOrientation |
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. You also need to supply an orientation (rotation
angle) at which to do the conversion.
Note |
---|
The only time that you should need to call this function is
if you want to do a coordinate conversion in a different
orientation than what has been set globally with GM_SetOrientation.
|
SyntaxGM_Error_t32 __stdcall GM_ConvertCoordPixelToGroundWithOrientation
(
sint32 aPixelX,
sint32 aPixelY,
double* aGroundX,
double* aGroundY,
const GM_Rectangle_t* aWorldBounds,
const GM_PixelRect_t* aPixelRect,
double aOrientation
)