Sign in Join
FPDoc Onlineexperiment

TCanvas.DoCopyRect procedure

Member of TCanvasprotectedIn unit Graphics

Verifies and copies the source canvas.

Declaration

pascal
procedure DoCopyRect(x: Integer; y: Integer; 
 SrcCanvas: TFPCustomCanvas; const SourceRect: TRect)
 ; override

Description

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

Errors

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

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.