glBitmap

draw a bitmap

Signature

glBitmap( GLsizei ( width ) , GLsizei ( height ) , GLfloat ( xorig ) , GLfloat ( yorig ) , GLfloat ( xmove ) , GLfloat ( ymove ) , const GLubyte * ( bitmap ) )-> void
glBitmap( width , height , xorig , yorig , xmove , ymove , bitmap )

Parameters

VariablesDescription
width, height
Specify the pixel width and height of the bitmap image.
xorig, yorig
Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes.
xmove, ymove
Specify the x and y offsets to be added to the current raster position after the bitmap is drawn.
bitmap
Specifies the address of the bitmap image.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glBitmap
OpenGLContext tests/getteximage.py Lines: 33
OpenGLContext OpenGLContext/scenegraph/text/font.py Lines: 336, 344, 351, 356, 359, 366, 370, 372
OpenGLContext OpenGLContext/scenegraph/text/wxfont.py Lines: 103
OpenGL-Demo PyOpenGL-Demo/redbook/drawf.py Lines: 83, 84, 85