DisplayImage Function
ImagingComponents

Displays part of the image specified by SrcRect onto TCanvas to rectangle DstRect.

Pascal
procedure DisplayImage(DstCanvas: TCanvas; 
                       const DstRect: TRect; 
                       Image: TBaseImage; 
                       const SrcRect: TRect); overload;
File

ImagingComponents (at line 326)

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).

Related Information
You are here: Symbol Reference > Functions > DisplayImage Function (TCanvas, TRect, TBaseImage, TRect)