*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/getscrbox (3)              
Title
Content
Arch
Section
 

Contents


getscrbox(3G)							 getscrbox(3G)


NAME    [Toc]    [Back]

     getscrbox - read back the current computed	screen bounding	box

C SPECIFICATION    [Toc]    [Back]

     void getscrbox(long *left,	long *right, long *bottom, long	*top)

PARAMETERS    [Toc]    [Back]

     left     returns the window coordinate of the left-most pixel drawn while
	      scrbox has been tracking.

     right    returns the window coordinate of the right-most pixel drawn
	      while scrbox has been tracking.

     bottom   returns the window coordinate of the lowest pixel	drawn while
	      scrbox has been tracking.

     top      returns the window coordinate of the highest pixel drawn while
	      scrbox has been tracking.

DESCRIPTION    [Toc]    [Back]

     getscrbox returns the current screen bounding box.	scrbox is the computed
     bounding box of all geometry (points, lines, polygons) in screen-space.
     The hardware updates the four values each time geometry is	drawn (while
     scrbox is tracking).

     If	left is	greater	than right, or bottom is greater than top, nothing has
     been drawn	since scrbox was reset.

SEE ALSO    [Toc]    [Back]

      
      
     scrbox

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.

     IRIS-4D G,	GT, and	GTX models, and	the Personal Iris, do not support
     scrbox, and therefore do not support getscrbox.  Use getgdesc to
     determine whether scrbox is supported.

     On	the IRIS-4D RealityEngine model	getscrbox returns the trivial
     rectangle defined by scrmask.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
curs_scr_dmp IRIX read (write) a curses screen from (to) a file
scr_set OpenBSD read (write) a curses screen from (to) a file
scr_dump Tru64 Read or write a Curses screen from or to a file
curs_scr_dump FreeBSD read (write) a curses screen from (to) a file
scr_init Tru64 Read or write a Curses screen from or to a file
scr_set Tru64 Read or write a Curses screen from or to a file
scr_restore OpenBSD read (write) a curses screen from (to) a file
scr_init OpenBSD read (write) a curses screen from (to) a file
curs_scr_dump OpenBSD read (write) a curses screen from (to) a file
scr_dump OpenBSD read (write) a curses screen from (to) a file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service