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

SetWriteMask

Set the pixel write mask value for a RastPort

Declaration

Source position: agraphics.pas line 2198

function SetWriteMask(

  Rp: PRastPort;

  Mask: LongWord

):LongWord;

Arguments

Rp

  

A pointer to a RastPort

Mask

  

A longword mask value.

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