ScaleTransform

Graphics.ScaleTransform method (1 of 2)

Scales the local geometric transform by the specified amounts. This method prepends the scaling matrix to the transform.

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

See Also


Graphics.ScaleTransform method (2 of 2)

Scales the local geometric transform by the specified amounts in the specified order.

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

See Also