scrmask man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



scrmask(3G)							   scrmask(3G)

NAME
     scrmask - defines a rectangular screen clipping mask

C SPECIFICATION
     void scrmask(left, right, bottom, top)
     Screencoord left, right, bottom, top;

PARAMETERS
     left     expects the window coordinate of the left-most pixel column
	      within the mask region.

     right    expects the window coordinate of the right-most pixel column
	      within the mask region.

     bottom   expects the window coordinate of the lowest pixel row within the
	      mask region.

     top      expects the window coordinate of the highest pixel row within
	      the mask region.

DESCRIPTION
     scrmask defines a subregion of the current viewport that can be updated
     by drawing commands.  Pixels outside this region cannot be modified by
     any drawing commands, including point, line, polygon, character, pixel
     write, and pixel copy commands.  All pixel bitplane buffers, including
     color, depth, accumulation, and stencil buffers, are write protected.
     scrmask operates in all draw modes.

     The enabled subregion is specified as a screen-aligned rectangle in
     window coordinates.  Like viewport, the boundary specification is
     inclusive, so the call scrmask(0,0,0,0) specifies a 1-pixel rectangle in
     the lower-left corner of the window.

     When viewport is called, the screen mask is set to match the newly
     specified viewport.  Any previous scrmask specification is lost.

     scrmask must be specified entirely within the current viewport.

SEE ALSO
     drawmode, getscrmask, viewport

NOTE
     If you set left to be greater than right or bottom to be greater than
     top, all pixels in the viewport are write protected.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net