Sign in Join
FPDoc Onlineexperiment

MaskBlt function

In unit LCLIntf

Copies part of an source DC into an destination DC, using the specified foreground and background raster operations.

Declaration

pascal
function MaskBlt(DestDC: HDC; X: Integer; Y: Integer; Width: Integer; 
 Height: Integer; SrcDC: HDC; XSrc: Integer; 
 YSrc: Integer; Mask: HBITMAP; XMask: Integer; 
 YMask: Integer; Rop: DWORD): Boolean

Description

MaskBlt behaves like BitBlt when no mask bitmap is specified. It does a SRCOPY operation when also no ROP is specified. See BitBlt for general information about raster operations.

Rop contains both a foreground and a background raster operation (see MakeROP4). When a (monochrome) mask bitmap is present, its bits select either the foreground (1) or background (0) raster operation.

See also

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