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

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

Contents


prefposition(3G)					      prefposition(3G)


NAME    [Toc]    [Back]

     prefposition - specifies the preferred location and size of a graphics
     window

C SPECIFICATION    [Toc]    [Back]

     void prefposition(long x1,	long x2, long y1, long y2)

PARAMETERS    [Toc]    [Back]

     x1	  expects the x	coordinate position (in	pixels)	of the point at	which
	  one corner of	the window is to be.

     x2	  expects the x	coordinate position (in	pixels)	of the point at	which
	  the opposite corner of the window is to be.

     y1	  expects the y	coordinate position (in	pixels)	of the point at	which
	  one corner of	the window is to be.

     y2	  expects the y	coordinate position (in	pixels)	of the point at	which
	  the opposite corner of the window is to be.

DESCRIPTION    [Toc]    [Back]

     prefposition specifies the	preferred location and size of the next
     graphics window opened by winopen.	 You specify the location in pixels
     (x1, x2, y1, y2).	Calling	winopen	activates the condtions	specified by
     prefposition.

     After a window has	been opened, its size and position can be changed by
     calling prefposition followed by winconstraints.  (Alternatively,
     winposition may be	used in	order to change	the size and position of an
     already opened window.)

     Note that although	prefposition causes the	resulting window to be fixed
     in	size (not resizable), it will still be possible	to move	the window.

EXAMPLES    [Toc]    [Back]

     To	open a window with a given size	and position, but which	will be
     resizable,	use the	following:

	  prefposition
	  winopen
	  winconstraints

     The winconstraints	following the winopen will remove the size contraint.

SEE ALSO    [Toc]    [Back]

      
      
     winconstraints, winopen, winposition

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
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
stepunit IRIX specifies that a graphics window change size in discrete steps
getvroot IRIX Get location and size of virtual root for window
keepaspect IRIX specifies the aspect ratio of a graphics window
fudge IRIX specifies fudge values that are added to a graphics window
mvView IRIX Change the location and size of the region for movie display inside a GL window
iconsize IRIX specifies the icon size of a window
getsize IRIX returns the size of a graphics window
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service