Hello,
I've committed a patch (by Luk Vandelaer) that adds a StretchDraw() routine to TFPCanvas.
It draws an image on a canvas, rescaled to a given size. The interpolation mechanism used when scaling is configurable.
(Just set the Interpolation property to a TFPCustomInterpolation descendent)
By default, a Mitchell interpolation is used.
The extinterpolation unit contains about 13 other interpolations, ready to use.
Enjoy,
and of course: remarks, comments welcome...
Michael.
