1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutReshapeWindow — Request changing the size of the current window
5

LIBRARY

7     OpenGLUT - window
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutReshapeWindow(int width, int height);
14

PARAMETERS

16      width     Requested width of the current window
17
18      height    Requested height of the current window
19

DESCRIPTION

21     The glutReshapeWindow() function adjusts the width and height of the
22     current window  , if it is an onscreen top-level or subwindow.  Subwin‐
23     dows are typically resized and repositioned in response to window resize
24     events.
25
26     The window system may delay or even alter your request.  Use the glutRe‐
27     shapeFunc() callback registration for the window if you want
28
29     If you try to make a subwindow smaller than its parent, the parent will
30     not grow to accomodate the child.
31

TODO

33     Add support for offscreen windows.
34

SEE ALSO

36     glutInit(3) glutInitWindowSize(3) glutReshapeFunc(3)
37     glutCreateSubWindow(3)
38
39
40
41
42                                     Epoch
Impressum