Graphics.ScaleTransform

ScaleTransform(float, float)

Applies the specified scaling operation to the transformation matrix of this Graphics by prepending it to the object’s transformation matrix.

public void ScaleTransform(float sx, float sy)
ParameterTypeDescription
sxSingleScale factor in the x direction.
sySingleScale factor in the y direction.

See Also


ScaleTransform(float, float, MatrixOrder)

Applies the specified scaling operation to the transformation matrix of this Graphics in the specified order.

public void ScaleTransform(float sx, float sy, MatrixOrder order)
ParameterTypeDescription
sxSingleScale factor in the x direction.
sySingleScale factor in the y direction.
orderMatrixOrderMember of the MatrixOrder enumeration that specifies whether the scaling operation is prepended or appended to the transformation matrix.

See Also