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

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

Contents


reshapeviewport(3G)					   reshapeviewport(3G)


NAME    [Toc]    [Back]

     reshapeviewport - sets the	viewport to the	dimensions of the current
     graphics window

C SPECIFICATION    [Toc]    [Back]

     void reshapeviewport()

PARAMETERS    [Toc]    [Back]

     none

DESCRIPTION    [Toc]    [Back]

     reshapeviewport sets the viewport to the dimensions of the	current
     graphics window.  Call it whenever	REDRAW events are received for windows
     whose size	is unconstrained, and therefore	could have changed.

     reshapeviewport is	equivalent to:

	  long xsize, ysize;

	  getsize(&xsize, &ysize);
	  viewport(0, xsize-1, 0, ysize-1);

SEE ALSO    [Toc]    [Back]

      
      
     getorigin,	getsize, viewport

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
getviewport IRIX gets a copy of the dimensions of the current viewport
winset IRIX sets the current graphics window
picksize IRIX sets the dimensions of the picking region
wintitle IRIX adds a title bar to the current graphics window
winpush IRIX places the current graphics window behind all other windows
winget IRIX returns the identifier of the current graphics window
winposition IRIX changes the size and position of the current graphics window
icontitle IRIX assigns the icon title for the current graphics window.
winpop IRIX moves the current graphics window in front of all other windows
winmove IRIX moves the current graphics window by its lower-left corner
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service