[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
A clipping window to the parent canvas.
Source position: controls.pp line 1993
public property TGraphicControl.Canvas: TCanvas |
The TGraphicsControl.Canvas is a clipping window to the parent canvas.
If you ask for the Canvas.Width or Canvas.Height, you are actually getting the parent control's Canvas dimensions.
To get the dimensions of the TGraphicControl, you must query the ClientRect.
|
TCanvas - where most of the drawing is performed |
lazarus-ccr.sourceforge.net |