Vcl.Graphics.TBitmap.Draw

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

virtual void __fastcall Draw(TCanvas* ACanvas, const System::Types::TRect &Rect);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TBitmap

Description

Render graphic onto canvas at rectangle.

Vcl.Graphics.TBitmap.Draw inherits from Vcl.Graphics.TGraphic.Draw. All content below this line refers to Vcl.Graphics.TGraphic.Draw.

Render graphic onto canvas at rectangle.

TCanvas.Draw calls this function to render the graphic onto its canvas at the coordinates specified by the Rect parameter. Descendants of TGraphic should override this function with a specific rendering implementation.

See Also