---
title: "Matrix..::.FillFromProjectivePoints Method (array&lt;PointF&gt;[]()[], array&lt;PointF&gt;[]()[])"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Transforms_Matrix_FillFromProjectivePoints_2_a6854ac1.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.FillFromProjectivePoints Method (PointF[], PointF[])
 
Initializes 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 Sub FillFromProjectivePoints ( _sourcePoints As PointF(), _destinationPoints As PointF() _
)
```
 
```csharp
public void FillFromProjectivePoints(PointF[] sourcePoints,PointF[] destinationPoints
)
```
 
### Parameters
 
 - sourcePoints
     - Type:  [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e) []
An array of 4 source (input) points to transform from.

 - destinationPoints
     - Type:  [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e) []
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\[\])](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Transforms_Matrix_FromProjectivePoints_2_a6854ac1.htm.md).
   
## See Also

### Reference

- [Matrix Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md)
- [FillFromProjectivePoints Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Matrix_FillFromProjectivePoints.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
