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

Matrix.TransformPoints Method

Applies a linear transform to specified set of points.

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

Syntax

Visual Basic
Public Sub TransformPoints ( _
	points As PointF() _
)
C#
public void TransformPoints(
	PointF[] points
)

Parameters

points

Type: System.Drawing.PointF []

A set of points to transform.
Note

The method modifies points in this array. If you need to keep original values, you should pass a copy of this array to this method.

Remarks

PointF represents a two-dimensional vector. At the same time, the rank of this matrix is 3. That's why during conversion, algorithm adds third component of this vector (which equals to 1), and then discard it when putting transformed points back to the array.

See Also

Reference