RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleGraphic.Draw Method

Render graphic onto canvas at rectangle.

Pascal
procedure Draw(ACanvas: TCanvas; const Rect: TRect); override;
C++
virtual __fastcall Draw(TCanvas ACanvas, const TRect Rect);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!