Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glutinitwindowsize(3) [centos man page]

UNTITLED
LOCAL UNTITLED NAME
glutInitWindowSize -- Requests future windows to open at a given width/height.. LIBRARY
OpenGLUT - window SYNOPSIS
#include <openglut.h> void glutInitWindowSize(int width, int height); PARAMETERS
width Width of future windows. height Height of future windows. DESCRIPTION
This function allows you to request initial dimensions for future windows. There is a callback function to inform you of the new window shape (whether initially opened, changed by your glutReshapeWindow() request, or changed directly by the user). SEE ALSO
glutReshapeWindow(3) glutInit(3) glutInitWindowPosition(3) glutInitDisplayMode(3) glutInitDisplayString(3) glutReshapeFunc(3) glutGet(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

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Error: GL/glut.h: No such file or directory

hi, I get this error when I compile my source on mac Leopard. is because I need to configure openGL path ? Monitor.h:15:60: error: GL/glut.h: No such file or directory Monitor.h:16:60: error: GL/gl.h: No such file or directory Monitor.C: In function 'void display2()': Monitor.C:77:... (0 Replies)
Discussion started by: aneuryzma
0 Replies

2. Programming

How to insert JPEG on each side of the cube using openGL in C

Hi, how to insert JPEG on each side of the cube using OpenGL in C language.. i have a program for cube.. guide me ,,, any answer will valuable.. (3 Replies)
Discussion started by: Ravikishore
3 Replies

3. Programming

How to Decode an image using openGL

Hi, How to decode an image using openGL library libjpeg .. which are the steps needed to do this using C language.. actually my work is to decode the image, store it on the buffer, and place it on cube surface.. please guide me,,any answer will appreciated .. (8 Replies)
Discussion started by: Ravikishore
8 Replies

4. Programming

Draw a 3D cylinder using openGL.

Hi, please give me, how to code to draw 3D cylinder in openGL, that should be rotated in x-direction. waiting for your reply .. (2 Replies)
Discussion started by: Ravikishore
2 Replies

5. Programming

how to bevel the edges of polyon

Hi i have written the code for star shape object in opengl but i am not able to bevel the edges of the star.COULD SOMEONE KINDLY TELL ME HOW CAN I BEVEL THE EDGES OF THE STAR SHAPE. #include <windows.h> #include <math.h> #include <GL/gl.h> #include <GL/glu.h> #include <freeglut.h> #include... (1 Reply)
Discussion started by: sumit_kang
1 Replies