---
title: "Matrix..::.FromProjectivePoints Method (PointF, PointF, PointF, PointF, PointF, PointF, PointF, PointF)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Transforms_Matrix_FromProjectivePoints_8_ed290201.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Matrix.FromProjectivePoints Method (PointF, PointF, PointF, PointF, PointF, PointF, PointF, PointF)
 
Returns a [Matrix](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) of the projective transform which converts one set of points to another.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Shared Function FromProjectivePoints ( _sourcePoint0 As PointF, _sourcePoint1 As PointF, _sourcePoint2 As PointF, _sourcePoint3 As PointF, _destinationPoint0 As PointF, _destinationPoint1 As PointF, _destinationPoint2 As PointF, _destinationPoint3 As PointF _
) As Matrix
```
 
```csharp
public static Matrix FromProjectivePoints(PointF sourcePoint0,PointF sourcePoint1,PointF sourcePoint2,PointF sourcePoint3,PointF destinationPoint0,PointF destinationPoint1,PointF destinationPoint2,PointF destinationPoint3
)
```
 
### Parameters
 
 - sourcePoint0
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
The first input source (input) point to transform from.

 - sourcePoint1
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
The second input source (input) point to transform from.

 - sourcePoint2
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
The third input source (input) point to transform from.

 - sourcePoint3
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
The fourth input source (input) point to transform from.

 - destinationPoint0
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
The first input destination (output) point to transform to. It corresponds to the *sourcePoint0* point.

 - destinationPoint1
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
The second input destination (output) point to transform to. It corresponds to the *sourcePoint1* point.

 - destinationPoint2
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
The third input destination (output) point to transform to. It corresponds to the *sourcePoint2* point.

 - destinationPoint3
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
The fourth input destination (output) point to transform to. It corresponds to the *sourcePoint3* point.
 
### Return Value
A [Matrix](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) class instance which represents the matrix of the transform which converts source points to destination points.
 
## Remarks
 If you already have an instance of the [Matrix](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) class, you can use [FillFromProjectivePoints(PointF, PointF, PointF, PointF, PointF, PointF, PointF, PointF)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Transforms_Matrix_FillFromProjectivePoints_8_ed290201.htm.md) method (non-static version of this method).
   
## See Also

### Reference

- [Matrix Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md)
- [FromProjectivePoints Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Matrix_FromProjectivePoints.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
