keepaspect man page on IRIX

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



keepaspect(3G)							keepaspect(3G)

NAME
     keepaspect - specifies the aspect ratio of a graphics window

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

PARAMETERS
     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
     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
     fudge, winconstraints, winopen

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