void PixelResample(TMtx Dst, Rectangle ZoomRect, TPixelDownSample mode)
Allows to exactly specify the size of the destination matrix with PixelsHeight and PixelsWidth parameters.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtx | source TMtx |
| 2 | ZoomRect | Rectangle | |
| 3 | mode | TPixelDownSample |
Result: stored in self (calling object)
Remarks:
The source matrix can be bigger or smaller than the destination.