[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]
OpenGL 1.2 for AIX: Reference Manual
gluOrtho2D Subroutine
Purpose
Defines a 2-dimensional (2D) orthographic projection matrix.
Library
OpenGL C bindings library: libGL.a
C Syntax
void gluOrtho2D(GLdoubleleft,
GLdouble right,
GLdouble bottom,
GLdouble top)
Description
The gluOrtho2D subroutine sets up a 2D orthographic viewing region. Use of this subroutine is equivalent to calling glOrtho with values of Near = -1 and Far = 1.
Parameters
left |
Specifies the coordinates for the left vertical clipping planes. |
right |
Specifies the coordinates for the right vertical clipping planes. |
bottom |
Specifies the coordinates for the bottom horizontal clipping planes. |
top |
Specifies the coordinates for the top horizontal clipping planes. |
Files
/usr/include/GL/gl.h |
Contains C language constraints, variable type definitions, and ANSI function prototypes for OpenGL. |
Related Information
The glOrtho subroutine, gluPerspective subroutine.
OpenGL Overview.
[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]