Aspose::Pdf::Matrix::UnScale method
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);.
void Aspose::Pdf::Matrix::UnScale(double x1, double y1, double &x, double &y)
Parameter | Type | Description |
---|---|---|
x1 | double | Input X coordinate |
y1 | double | Input Y coordinate |
x | double& | Output X coordinate |
y | double& | Output Y coordinate |
See Also
- Class Matrix
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++