GLUTRESHAPEWINDOW(3)             Local Manual             GLUTRESHAPEWINDOW(3)

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 glutRe-
     shapeFunc() 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)




NetBSD 2.0                           Epoch                          NetBSD 2.0
