[fpc-pascal] Stretchdraw implemented.

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue Nov 21 16:03:24 CET 2006


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.


and of course: remarks, comments welcome...


More information about the fpc-pascal mailing list