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....



R2M


Unit:SDL_polchart
Class:TPolChart
Declaration:procedure R2M (rad, phi: double; var xout,yout: longint);

The routine R2M allows the transformation of real-world chart coordinates into integer screen (pixel) coordinates. The parameters rad and phi specify the real-world coordinates of the chart (radius and angle). The variable parameters xout and yout contain the pixel coordinates of the point [rad, phi].

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



Last Update: 2023-Dec-13