1. glrect
void glRectd |
( |
GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ); |
void glRectf |
( |
GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ); |
void glRecti |
( |
GLint x1 , GLint y1 , GLint x2 , GLint y2 ); |
void glRects |
( |
GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 );
|
X1, Y1, is the lower left vertex, X2, Y2 is the upper right vertex.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ·
2. glcolor-set current color
void glColor3b( |
Glbyte |
Red, |
| |
Glbyte |
Green, |
| |
Glbyte |
Blue); |
void glColor3s( |
Glshort |
Red, |
| |
Glshort |
Green, |
| |
Glshort |
Blue); |
void glColor3i( |
Glint |
Red, |
| |
Glint |
Green, |
| |
Glint |
Blue); |
void glColor3f( |
Glfloat |
Red, |
| |
Glfloat |
Green, |
| |
Glfloat |
Blue); |
void glColor3d( |
Gldouble |
Red, |
| |
Gldouble |
Green, |
| |
Gldouble |
Blue); |
void glColor3ub( |
Glubyte |
Red, |
| |
Glubyte |
Green, |
| |
Glubyte |
Blue); |
void glColor3us( |
Glushort |
Red, |
| |
Glushort |
Green, |
| |
Glushort |
Blue); |
void glColor3ui( |
Gluint |
Red, |
| |
Gluint |
Green, |
| |
Gluint |
Blue); |
void glColor4b( |
Glbyte |
Red, |
| |
Glbyte |
Green, |
| |
Glbyte |
Blue, |
| |
Glbyte |
Alpha); |
void glColor4s( |
Glshort |
Red, |
| |
Glshort |
Green, |
| |
Glshort |
Blue, |
| |
Glshort |
Alpha); |
void glColor4i( |
Glint |
Red, |
| |
Glint |
Green, |
| |
Glint |
Blue, |
| |
Glint |
Alpha); |
void glColor4f( |
Glfloat |
Red, |
| |
Glfloat |
Green, |
| |
Glfloat |
Blue, |
| |
Glfloat |
Alpha); |
void glColor4d( |
Gldouble |
Red, |
| |
Gldouble |
Green, |
| |
Gldouble |
Blue, |
| |
Gldouble |
Alpha); |
void glColor4ub( |
Glubyte |
Red, |
| |
Glubyte |
Green, |
| |
Glubyte |
Blue, |
| |
Glubyte |
Alpha); |
void glColor4us( |
Glushort |
Red, |
| |
Glushort |
Green, |
| |
Glushort |
Blue, |
| |
Glushort |
Alpha); |
void glColor4ui( |
Gluint |
Red, |
| |
Gluint |
Green, |
| |
Gluint |
Blue, |
| |
Gluint |
Alpha); |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3. glpolygonstipple
C Specification
void glPolygonStipple( |
Const glubyte * |
Pattern); |
Parameters
-
pattern
-
Specifies a pointer to a 32 × 32 stipple pattern that will be unpacked from memory in the same way that gldrawpixels unpacks
Pixels.