GetWidth - if a handle has been allocated, returns the width from the device size
Source position: graphics.pp line 1024
protected function TCanvas.GetWidth: Integer; override;
TFPCustomCanvas.GetWidth