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

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

Contents


getgpos(3G)							   getgpos(3G)


NAME    [Toc]    [Back]

     getgpos - gets the	current	graphics position

C SPECIFICATION    [Toc]    [Back]

     void getgpos(fx, fy, fz, fw)
     Coord *fx,	*fy, *fz, *fw;

PARAMETERS    [Toc]    [Back]

     fx	  expects a pointer to the location into which you want	the system to
	  write	the x coordinate of the	current	graphics position.

     fy	  expects a pointer to the location into which you want	the system to
	  write	the y coordinate of the	current	graphics position.

     fz	  expects a pointer to the location into which you want	the system to
	  write	the z coordinate of the	current	graphics position.

     fw	  expects a pointer to the location into which you want	the system to
	  write	the w coordinate of the	current	graphics position. The w value
	  is used when defining	a three	dimensional point in homogeneous
	  coordinates.

DESCRIPTION    [Toc]    [Back]

     getgpos returns the current graphics position after transformation	by the
     current matrix.

     When the current graphics position	is undefined, the action of this
     routine is	undefined.

SEE ALSO    [Toc]    [Back]

      
      
     getcpos

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.


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