getviewport man page on IRIX

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



getviewport(3G)						       getviewport(3G)

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

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

PARAMETERS
     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
     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
     popviewport, pushviewport, viewport

NOTE
     This routine is available only in immediate mode.

									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