[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TCanvas.DoCopyRect

DoCopyRect checks that SrcCanvas is of correct type then copies coordinates and calls CopyRect

Declaration

Source position: graphics.pp line 1046

protected procedure TCanvas.DoCopyRect(

  x: Integer;

  y: Integer;

  SrcCanvas: TFPCustomCanvas;

  const SourceRect: TRect

); override;

Errors

If SrcCanvas is not of type TCanvas then writes a warning to the debug output that copying is not supported

See also

TFPCustomCanvas.DoCopyRect

TCanvas.CopyRect

  

Copies the rectangle found at Source in SrcCanvas to the destination position Dest

The latest version of this document can be found at lazarus-ccr.sourceforge.net.