Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

SetWriteMask

Set the pixel write mask value for a RastPort

Declaration

Source position: agraphics.pas line 2394

function SetWriteMask(

  rp: pRastPort;

  msk: LongWord

):LongWord;

Arguments

rp

  

A pointer to a RastPort

Function result

Graphics devices which do not support per-bit masking will return 0 (failure).

Description

Set the current value of the bit write mask for the rastport. bits of the pixel with zeros in their mask will not be modified by subsequent drawing operations.


Documentation generated on: 2021-07-30