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

SetWriteMask

Set the pixel write mask value for a RastPort

Declaration

Source position: agraphics.pas line 2462

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