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

Matrix.FillFromProjectivePoints Method (PointF[], PointF[])

Initializes 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

Visual Basic
Public Sub FillFromProjectivePoints ( _
        sourcePoints
As PointF(), _
        destinationPoints
As PointF() _
)
C#
public void FillFromProjectivePoints(
       
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.

Remarks

You can also create a matrix of the projective transform which converts one set of points to another one using a static method FromProjectivePoints(PointF[], PointF[]).

See Also

Reference