glutReshapeWindow man page on MacOSX

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

glutReshapeWindow(3GLUT)	     GLUT	      glutReshapeWindow(3GLUT)

NAME
       glutReshapeWindow  -  requests a change to the size of the current win‐
       dow.

SYNTAX
       #include <GLUT/glut.h>

       void glutReshapeWindow(int width, int height);

ARGUMENTS
       width	 New width of window in pixels.

       height	 New height of window in pixels.

DESCRIPTION
       glutReshapeWindow requests a change in the size of the current  window.
       The  width and height parameters are size extents in pixels.  The width
       and height must be positive values.

       The requests by glutReshapeWindow are not processed  immediately.   The
       request is executed after returning to the main event loop. This allows
       multiple	 glutReshapeWindow,  glutPositionWindow,  and	glutFullScreen
       requests to the same window to be coalesced.

       In  the	case of top-level windows, a glutReshapeWindow call is consid‐
       ered only a request for sizing the window. The window system is free to
       apply  its  own policies to top-level window sizing. The intent is that
       top-level windows  should  be  reshaped	according  glutReshapeWindow's
       parameters.  Whether  a	reshape	 actually takes effect and, if so, the
       reshaped dimensions are reported to the program by a reshape callback.

       glutReshapeWindow disables the full screen status of a window if previ‐
       ously enabled.

SEE ALSO
       glutPositionWindow, glutReshapeFunc

AUTHOR
       Mark J. Kilgard (mjk@nvidia.com)

GLUT				      3.7	      glutReshapeWindow(3GLUT)
[top]

List of man pages available for MacOSX

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