Pen.ScaleTransform

ScaleTransform(float, float)

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


ScaleTransform(float, float, MatrixOrder)

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