TMtx::PixelResample Method

void PixelResample(TMtx *Dst, const TMtxRect &ZoomRect, TPixelDownSample mode = TPixelDownSample::pdsPattern);

Allows to exactly specify the size of the destination matrix with PixelsHeight and PixelsWidth parameters.

#NameTypeDescription
1DstTMtx *
2ZoomRectconst TMtxRect &
3mode = TPixelDownSample::pdsPatternTPixelDownSample
Remarks:

The source matrix can be bigger or smaller than the destination.

Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler