CBCGPPoint CBCGPChartDiagram3D::TranslateDistance | ( | const CBCGPPoint & | pt | ) |
Converts X and Y values in screen coordinates to normalized coordinates.
For example, we need to find out how much an offset of 6 pixels is in normalized coordinates:
now ptConverted.x contains the required offset.
pt | A point (offset) in screen coordinates. |