EasyManuals Logo

HP b2600 Reference Guide

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #31 background imageLoading...
Page #31 background image
B
glBitMap
Chapter 2
31
where (x
r
, y
r
) is the raster position and (x
o
, y
o
) is the bitmap origin. Fragments are then
generated for each pixel corresponding to a 1 (one) in the bitmap image. These fragments
are generated using the current raster z coordinate, color or color index, and current
raster texture coordinates. They are then treated just as if they had been generated by a
point, line, or polygon, including texture mapping, fogging, and all per-fragment
operations such as alpha and depth testing.
After the bitmap has been drawn, the x and y coordinates of the current raster position
are offset by xmove and ymove. No change is made to the z coordinate of the current
raster position, or to the current raster color, texture coordinates, or index.
Notes
To set a valid raster position outside the viewport, first set a valid raster position inside
the viewport, then call glBitmap with NULL as the bitmap parameter and with xmove
and ymove set to the offsets of the new raster position. This technique is useful when
panning an image around the viewport.
Errors
GL_INVALID_VALUE is generated if width or height is negative.
GL_INVALID_OPERATION is generated if glBitmap is executed between the
execution of glBegin and the corresponding execution of glEnd.
Associated Gets
glGet with argument GL_CURRENT_RASTER_POSITION
glGet with argument GL_CURRENT_RASTER_COLOR
glGet with argument GL_CURRENT_RASTER_INDEX
glGet with argument GL_CURRENT_RASTER_TEXTURE_COORDS
glGet with argument GL_CURRENT_RASTER_POSITION_VALID
See Also
glDrawPixels,
glPixelStore,
glPixelTransfer,
glRasterPos

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP b2600 and is the answer not in the manual?

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals