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

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

Contents


winposition(3G)						       winposition(3G)


NAME    [Toc]    [Back]

     winposition - changes the size and	position of the	current	graphics
     window

C SPECIFICATION    [Toc]    [Back]

     void winposition(x1, x2, y1, y2)
     long x1, x2, y1, y2;

PARAMETERS    [Toc]    [Back]

     x1	  expects the x	screen coordinate (in pixels) of the first corner of
	  the new location for the current graphics window.  The first corner
	  of the new window is the corner diagonally opposite the second
	  corner.

     x2	  expects the x	screen coordinate (in pixels) of the second corner of
	  the new location for the current graphics window.

     y1	  expects the y	screen coordinate (in pixels) of the first corner of
	  the new location for the current graphics window.

     y2	  expects the y	screen coordinate (in pixels) of the second corner of
	  the new location for the current graphics window.

DESCRIPTION    [Toc]    [Back]

     winposition moves and reshapes the	current	graphics window	to match the
     screen coordinates	x1, x2,	y1, y2 (calculated in pixels).	This differs
     from prefposition because the reshaped window is not fixed	in size	and
     shape, and	can be reshaped	interactively.

SEE ALSO    [Toc]    [Back]

      
      
     prefposition, prefsize, winmove

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
getgpos IRIX gets the current graphics position
getsize IRIX returns the size of a graphics window
getorigin IRIX returns the position of a graphics window
prefsize IRIX specifies the preferred size of a graphics window
minsize IRIX specifies the minimum size of a graphics window
maxsize IRIX specifies the maximum size of a graphics window
prefposition IRIX specifies the preferred location and size of a graphics window
stepunit IRIX specifies that a graphics window change size in discrete steps
winset IRIX sets the current graphics window
winget IRIX returns the identifier of the current graphics window
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service