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

Matrix.FillFromAffinePoints Method (PointF, PointF, PointF, PointF, PointF, PointF)

Initializes 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

Visual Basic
Public Sub FillFromAffinePoints ( _
	sourcePoint0 As PointF, _
	sourcePoint1 As PointF, _
	sourcePoint2 As PointF, _
	destinationPoint0 As PointF, _
	destinationPoint1 As PointF, _
	destinationPoint2 As PointF _
)
C#
public void FillFromAffinePoints(
	PointF sourcePoint0,
	PointF sourcePoint1,
	PointF sourcePoint2,
	PointF destinationPoint0,
	PointF destinationPoint1,
	PointF destinationPoint2
)

Parameters

sourcePoint0

Type: System.Drawing.PointF

The first input source (input) point to transform from.
sourcePoint1

Type: System.Drawing.PointF

The second input source (input) point to transform from.
sourcePoint2

Type: System.Drawing.PointF

The third input source (input) point to transform from.
destinationPoint0

Type: System.Drawing.PointF

The first input destination (output) point to transform to. It corresponds to the sourcePoint0 point.
destinationPoint1

Type: System.Drawing.PointF

The second input destination (output) point to transform to. It corresponds to the sourcePoint1 point.
destinationPoint2

Type: System.Drawing.PointF

The third input destination (output) point to transform to. It corresponds to the sourcePoint2 point.

Remarks

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

See Also

Reference