Aspose::Pdf::Matrix::UnTransform method

Matrix::UnTransform method

Transforms back x1 and y1 and returns x and y before the matrix transformation using the following formula: x = (D * x1 - C * y1 + C * F) / (A * D - C * B) y = (A * y1 - B * x1 + B * E) / (A * D - C * B).

void Aspose::Pdf::Matrix::UnTransform(double x1, double y1, double &x, double &y)
ParameterTypeDescription
x1doubleInput X coordinate
y1doubleInput Y coordinate
xdouble&Output X coordinate
ydouble&Output Y coordinate

See Also