Matrix.CreateFromAffinePoints Method

Returns a Matrix of the affine transform which converts one set of points to another.

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

Syntax

C#
public static Matrix CreateFromAffinePoints(
	PointF[] sourcePoints,
	PointF[] destinationPoints
)

Parameters

sourcePoints

Type: System.Drawing.PointF[]

An array of 3 source (input) points to transform from.
destinationPoints

Type: System.Drawing.PointF[]

An array of 3 destination (output) points to transform source points to.

Return Value

A Matrix of the transform which converts sourcePoints to destinationPoints.

See Also

Reference