The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:procedure M2R (xin, yin: longint; var rad, phi: double);

The routine M2R allows the transformation of integer screen (pixel) coordinates into the real-world coordinates of a chart. The parameters xin and yin specify the pixel coordinates of the chart window. The variable parameters rad and phi return the real-world polar coordinates of the point [xin, yin].

Hint: Normally, the user will not utilize this method at all. M2R has been declared public in order to give direct access to the chart area for special purposes.

Last Update: 2012-Okt-20