API:Vcl.Imaging.GIFImg.TGIFRenderer.Draw

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Draw(ACanvas: TCanvas; const Rect: TRect); override; // Draw current state

C++

virtual void __fastcall Draw(Vcl::Graphics::TCanvas* ACanvas, const Winapi::Windows::TRect &Rect);

Properties

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

Description

Draws the current GIF frame on the specified canvas.

Vcl.Imaging.GIFImg.TGIFRenderer.Draw inherits from Vcl.Imaging.GIFImg.TCustomGIFRenderer.Draw. All content below this line refers to Vcl.Imaging.GIFImg.TCustomGIFRenderer.Draw.

Draws the current GIF frame on the specified canvas.

Call Draw to draw the current GIF frame on the canvas specified through ACanvas and using the bounding rectangle given by Rect.

A call to Draw sets TargetCanvas to the value of ACanvas and also sets TargetRect to the value of Rect.

See Also