Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RGBwritemask(3)  —  Unix Programmer’s Manual

NAME

RGBwritemask - grant write access to a subset of the available bitplanes

SYNOPSIS

C
RGBwritemask(red, green, blue)
RGBvalue red, green, blue;

FORTRAN
subroutine RGBwri(red, green, blue)
integer∗2 red, green, blue

Pascal
procedure RGBwritemask(red, green, blue: RGBvalue);

DESCRIPTION

RGBwritemask shields bitplanes reserved for special uses from ordinary drawing commands.  The three arguments are masks for each of the three sets of eight planes.  Wherever there are one’s in the writemask, the corresponding bits in the RGB color will be written into the bitplanes.  Zeros in the writemask mark bitplanes as read-only.  These planes will not be changed, regardless of the bits in the RGB color. 

SEE ALSO

gRGBmask, RGBcolor, writemask

Silicon Graphics  —  R1c

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026