DisplayImageData Function
ImagingComponents

Displays image stored in TImageData structure onto TCanvas.

Pascal
procedure DisplayImageData(DstCanvas: TCanvas; 
                           const DstRect: TRect; 
                           const ImageData: TImageData; 
                           const SrcRect: TRect);
File

ImagingComponents (at line 308)

Description

This procedure draws image without converting from Imaging format to TBitmap. Only [ifA8R8G8B8, ifX8R8G8B8] image formats are supported. Use this when you want displaying images that change frequently (because converting to TBitmap by ConvertImageDataToBitmap is generally slow). Dest and Src rectangles represent coordinates in the form (X1, Y1, X2, Y2).

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