This documentation is for the old version. Go to the latest Graphics Mill docs

Matrix.Scale Method (Single, Single)

Applies a scale affine transform to the matrix.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub Scale ( _
	scaleX As Single, _
	scaleY As Single _
)
C#
public void Scale(
	float scaleX,
	float scaleY
)

Parameters

scaleX

Type: System.Single

The value to scale the matrix horizontally.
scaleY

Type: System.Single

The value to scale the matrix vertically.

Remarks

Internally the scaling is applied by multiplying this instance of the matrix by the affine matrix of scale. Left-sided multiplication is made. If you need to make right-sided multiplication, you can use an overloaded version of this method which enables to specify a matrix order.

See Also

Reference