scrbox man page on IRIX

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



scrbox(3g)							    scrbox(3g)

NAME
     scrbox - control the screen box

C SPECIFICATION
     void scrbox(arg)
     long arg;

PARAMETERS
     arg   Expects one of the symbolic constants:

	   SB_RESET:  initialize screen box limits and disable the updating of
	   screen box limits. (default)

	   SB_TRACK:  track scan-converted geometry and characters and update
	   the scrbox limits accordingly.

	   SB_HOLD:  disable update of screen box limits; hold current values.

DESCRIPTION
     scrbox is a dual of the scrmask capability.  Rather than limiting drawing
     effects to a screen-aligned subregion of the viewport, it tracks the
     screen-aligned subregion (screen box) that has been affected.  Unlike
     scrmask, which defaults to the viewport boundry if not explicitly
     enabled, scrbox must be explicitly turned on to be effective.

     While enabled (mode SB_TRACK) scrbox maintains leftmost, rightmost,
     lowest, and highest window coordinates of all pixels that are scan
     converted.	 Because scrbox operates on the pixels that result from the
     scan conversion of points, lines, polygons, and characters; it correctly
     handles wide lines, antialiased (smooth) points and lines, and
     characters.  Because scrbox operation may preceed the framebuffer, scan-
     converted pixels may update the screen box regardless of their Z compare,
     WID compare, or stencil compare results.

     scrbox results are guaranteed to bound the modified framebuffer region,
     but they may exceed the bounds of this region.

     scrbox results are not affected by calls to clear, zclear, sclear, or
     czclear.

     When reset, the leftmost and lowest screen box values are set to be
     greater than the rightmost and highest values, and the updating of screen
     box limits is disabled.

SEE ALSO
     getscrbox, scrmask

NOTES
     IRIS-4D G, GT, and GTX models, Personal Iris, Impact, and Infinite
     Reality, do not support scrbox.  Use getgdesc to determine whether scrbox
     is supported.

									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