ClipStretchBounds Function
ImagingUtility

Clips given source bounds and dest bounds.

Pascal
procedure ClipStretchBounds(var SrcX: LongInt; 
                            var SrcY: LongInt; 
                            var SrcWidth: LongInt; 
                            var SrcHeight: LongInt; 
                            var DstX: LongInt; 
                            var DstY: LongInt; 
                            var DstWidth: LongInt; 
                            var DstHeight: LongInt; 
                            SrcImageWidth: LongInt; 
                            SrcImageHeight: LongInt; 
                            const DstClip: TRect);
File

ImagingUtility (at line 283)

Description

It is used by various StretchRect functions that stretch rectangle of pixels from one image to another. It handles clipping the same way as Win32 StretchBlt function.

Related Information
You are here: Symbol Reference > Functions > ClipStretchBounds Function