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

MaskBlt

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

Declaration

Source position: winapih.inc line 197

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;

function MaskBlt(

  DestDC: HDC;

  X: Integer;

  Y: Integer;

  Width: Integer;

  Height: Integer;

  SrcDC: HDC;

  XSrc: Integer;

  YSrc: Integer;

  Mask: HBITMAP;

  XMask: Integer;

  YMask: Integer

):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

BitBlt

  

Copies a section of a Canvas to another one, performing a raster operation (ROP).

MakeROP4

  


Version 3.2 Generated 2024-02-25 Home