1UNTITLED LOCAL UNTITLED
2
4 glutReshapeWindow — Request changing the size of the current window
5
7 OpenGLUT - window
8
10 #include <openglut.h>
11
12 void
13 glutReshapeWindow(int width, int height);
14
16 width Requested width of the current window
17
18 height Requested height of the current window
19
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
33 Add support for offscreen windows.
34
36 glutInit(3) glutInitWindowSize(3) glutReshapeFunc(3)
37 glutCreateSubWindow(3)
38
39
40
41
42 Epoch