Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glutreshapewindow(3) [centos man page]

UNTITLED
LOCAL UNTITLED NAME
glutReshapeWindow -- Request changing the size of the current window LIBRARY
OpenGLUT - window SYNOPSIS
#include <openglut.h> void glutReshapeWindow(int width, int height); PARAMETERS
width Requested width of the current window height Requested height of the current window DESCRIPTION
The glutReshapeWindow() function adjusts the width and height of the current window , if it is an onscreen top-level or subwindow. Subwin- dows are typically resized and repositioned in response to window resize events. The window system may delay or even alter your request. Use the glutReshapeFunc() callback registration for the window if you want If you try to make a subwindow smaller than its parent, the parent will not grow to accomodate the child. TODO
Add support for offscreen windows. SEE ALSO
glutInit(3) glutInitWindowSize(3) glutReshapeFunc(3) glutCreateSubWindow(3) Epoch

Check Out this Related Man Page

glutReshapeWindow(3GLUT)					       GLUT						  glutReshapeWindow(3GLUT)

NAME
glutReshapeWindow - requests a change to the size of the current window. 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 considered 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 previously enabled. SEE ALSO
glutPositionWindow, glutReshapeFunc AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutReshapeWindow(3GLUT)
Man Page