Vcl.Imaging.GIFImg.TGIFFrame.StretchDraw

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure StretchDraw(ACanvas: TCanvas; const Rect: TRect;  DoTransparent, DoTile: boolean);

C++

void __fastcall StretchDraw(Vcl::Graphics::TCanvas* ACanvas, const System::Types::TRect &Rect, bool DoTransparent, bool DoTile);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Imaging.GIFImg.pas
Vcl.Imaging.GIFImg.hpp
Vcl.Imaging.GIFImg TGIFFrame

Description

Draws the GIF frame in the rectangle specified by the Rect parameter.

Call StretchDraw to draw a GIF frame on the canvas so that the image fits in the specified rectangle. This operation may involve changing magnification and/or aspect ratio.

See Also