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.... |
Home ChartPack RChart Class TRChart Methods M2R | |||||||||||||
See also: R2M | |||||||||||||
M2R |
|||||||||||||
The routine M2R allows the transformation of integer screen (pixel) coordinates into the real-world coordinates of the chart layer specified by the parameter Layer. The parameters xin and yin specify the pixel coordinates of the chart window (not the data area) - therefore the properties MarginLeft and MarginTop should be taken into account when using M2R. The variable parameters xout and yout return the real-world coordinates of the point [xin, yin].
|