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

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

Contents


keepaspect(3G)							keepaspect(3G)


NAME    [Toc]    [Back]

     keepaspect	- specifies the	aspect ratio of	a graphics window

C SPECIFICATION    [Toc]    [Back]

     void keepaspect(x,	y)
     long x, y;

PARAMETERS    [Toc]    [Back]

     x	 expects the horizontal	proportion of the aspect ratio.	The value must
	 be between 1 and 32767	(0x7fff), inclusive.

     y	 expects the vertical proportion of the	aspect ratio. The value	must
	 be between 1 and 32767	(0x7fff), inclusive.

DESCRIPTION    [Toc]    [Back]

     keepaspect	specifies the aspect ratio of a	graphics window.  Call it at
     the beginning of a	graphics program. It takes effect when you call
     winopen.  The resulting graphics window maintains the aspect ratio
     specified in keepaspect, even if it changes size.

     For example, keepaspect(1,	1) always results in a square graphics window.
     You can also call keepaspect in conjunction with winconstraints to	modify
     the enforced aspect ratio after the window	has been created.

SEE ALSO    [Toc]    [Back]

      
      
     fudge, winconstraints, winopen

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
maxsize IRIX specifies the maximum size of a graphics window
minsize IRIX specifies the minimum size of a graphics window
prefsize IRIX specifies the preferred size of a graphics window
fudge IRIX specifies fudge values that are added to 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
DXmSvnShowSelections Tru64 Specifies that the SVN widget use selection graphics when displaying selected entries.
DXmSvnShowHighlighting Tru64 Specifies that the SVN widget use highlight graphics when showing highlighted entries.
noborder IRIX specifies a window without any borders
iconsize IRIX specifies the icon size of a window
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service