Graphics.ScaleTransform

ScaleTransform(float, float)

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


ScaleTransform(float, float, MatrixOrder)

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