Rechercher une page de manuel
glutReshapeWindow
Langue: en
Version: 172894 (fedora - 06/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutReshapeWindow - Request changing the size of the current windowLIBRARY
OpenGLUT - windowSYNOPSIS
In openglut.h Ft void Fn glutReshapeWindow int width int heightPARAMETERS
Bf Em
width Ef
Requested width of the current window
Bf Em
height Ef
Requested height of the current window
DESCRIPTION
The glutReshapeWindow() function adjusts the width and height of the Bf Licurrent window Ef
, if it is an onscreen top-level or subwindow. Subwindows 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)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre