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

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

Contents


getviewport(3G)						       getviewport(3G)


NAME    [Toc]    [Back]

     getviewport - gets	a copy of the dimensions of the	current	viewport

C SPECIFICATION    [Toc]    [Back]

     void getviewport(left, right, bottom, top)
     Screencoord *left,	*right,	*bottom, *top;

PARAMETERS    [Toc]    [Back]

     left     expects a	pointer	to a location into which the system should
	      copy the x coordinate (in	pixels)	of the left side of the
	      current view port.

     right    expects a	pointer	to a location into which the system should
	      copy the x coordinate (in	pixels)	of the right side of the
	      current view port.

     bottom   expects a	pointer	to a location into which the system should
	      copy the y coordinate (in	pixels)	of the bottom side of the
	      current view port.

     top      expects a	pointer	to a location into which the system should
	      copy the y coordinate (in	pixels)	of the top side	of the current
	      view port.

DESCRIPTION    [Toc]    [Back]

     getviewport gets the dimensions of	the current viewport and copies	them
     to	the locations specified	as parameters.	The current viewport is
     defined as	the viewport at	the top	of the viewport	stack.

SEE ALSO    [Toc]    [Back]

      
      
     popviewport, pushviewport,	viewport

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
reshapeviewport IRIX sets the viewport to the dimensions of the current graphics window
picksize IRIX sets the dimensions of the picking region
glviewport IRIX set the viewport
glViewport Tru64 set the viewport
popviewport IRIX pops the viewport stack
pushviewport IRIX pushes down the viewport stack
scp OpenBSD secure copy (remote file copy program)
scp FreeBSD secure copy (remote file copy program)
lifcp HP-UX copy to or from LIF files
BN_dup OpenBSD copy BIGNUMs
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service