Matrix.UnScale

Matrix.UnScale method

Scales back x1 and y1 and returns x and y before the matrix transformation using the following formula: x = (D * x1 - C * y1) / (A * D - C * B); y = (A* y1 - B* x1) / (A* D - C* B);

public void UnScale(double x1, double y1, out double x, out double y)
ParameterTypeDescription
x1DoubleInput X coordinate
y1DoubleInput Y coordinate
xDouble&Output X coordinate
yDouble&Output Y coordinate

See Also