Aspose::Pdf::Matrix::Scale method
Contents
[
Hide
]Matrix::Scale(double, double, double&, double&) method
Scales x and y with the matrix using the following formula: x1 = Ax + Cy; y1 = Bx + Dy;.
void Aspose::Pdf::Matrix::Scale(double x, double y, double &x1, double &y1)
Parameter | Type | Description |
---|---|---|
x | double | Input X coordinate |
y | double | Input Y coordinate |
x1 | double& | Output X coordinate |
y1 | double& | Output Y coordinate |
See Also
- Class Matrix
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Matrix::Scale(double, double, System::SharedPtr<Matrix>) method
Applies scaling to the given matrix.
static System::SharedPtr<Matrix> Aspose::Pdf::Matrix::Scale(double sx, double sy, System::SharedPtr<Matrix> source)
Parameter | Type | Description |
---|---|---|
sx | double | The scaling factor for the X-axis. |
sy | double | The scaling factor for the Y-axis. |
source | System::SharedPtr<Matrix> | The matrix to scale. |
ReturnValue
A new matrix that is the result of scaling the source matrix.
See Also
- Class Matrix
- Class Matrix
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++