Table of Contents

Method ScreenToDrawing

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ScreenToDrawing(double, double, out double, out double)

Gets the point of the drawing under a pixel.

public void ScreenToDrawing(double px, double py, out double x, out double y)

Parameters

px double

The X of the pixel.

py double

The Y of the pixel, down from the top.

x double

The X of the drawing point.

y double

The Y of the drawing point.