ScaleTransform

Pen.ScaleTransform method (1 of 2)

Scales the local geometric transformation by the specified factors. This method prepends the scaling matrix to the transformation.

public void ScaleTransform(float sx, float sy)
ParameterTypeDescription
sxSingleThe factor by which to scale the transformation in the x-axis direction.
sySingleThe factor by which to scale the transformation in the y-axis direction.

See Also


Pen.ScaleTransform method (2 of 2)

Scales the local geometric transformation by the specified factors in the specified order.

public void ScaleTransform(float sx, float sy, MatrixOrder order)
ParameterTypeDescription
sxSingleThe factor by which to scale the transformation in the x-axis direction.
sySingleThe factor by which to scale the transformation in the y-axis direction.
orderMatrixOrderA MatrixOrder that specifies whether to append or prepend the scaling matrix.

See Also