Ejemplo n.º 1
0
 /// <summary>
 /// Transforms point in screen coordinates to data coordinates.
 /// </summary>
 /// <param name="screenPoint">Point in screen coordinates</param>
 /// <param name="transform">CoordinateTransform used to perform transformation</param>
 /// <returns>Point in data coordinates</returns>
 public static Point ScreenToData(this Point screenPoint, CoordinateTransform transform)
 {
     return(transform.ScreenToData(screenPoint));
 }