Sign in Join
FPDoc Onlineexperiment

TPostScriptPrinterCanvas.CopyRect procedure

Member of TPostScriptPrinterCanvaspublicIn unit PostScriptCanvas

Declaration

pascal
procedure CopyRect(const Dest: TRect; SrcCanvas: TCanvas; 
 const Source: TRect); override

Description

Not described here; this is what TCanvas.CopyRect says of it:

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

CopyRect is a method used to copy a rectangular area from another TCanvas instance to the specified location on the canvas instance.

No actions are performed in the method if SrcCanvas has not been assigned, or when the width or height in either Source or Dest is zero (0) pixels.

CopyRect calls the StretchBlt routine in the LCL interface to expand or shrink the content in Source to the dimensions in Dest. The CopyMode property provides the raster operation for the block transfer.

CopyRect calls Changing to signal an assigned OnChanging event handler prior to the block transfer. CopyRect calls Changed to signal an assigned OnChange event handler immediately after to the block transfer.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.