Matrix.CreateFromProjectivePoints Method

Returns a Matrix of the projective 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 CreateFromProjectivePoints(
	PointF[] sourcePoints,
	PointF[] destinationPoints
)

Parameters

sourcePoints

Type: System.Drawing.PointF[]

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

Type: System.Drawing.PointF[]

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

Return Value

A Matrix of the transform which converts sourcePoints to destinationPoints.

See Also

Reference