Certain GL subroutines obtain information about various processes in or aspects of the system. These include current cursor characteristics, maximum character height in the current raster font, and the current display, color map, or drawing mode.
Other subroutines furnish lists, such as the blkqread subroutine, which reads a block of event queue entries, and the getdev subroutine, which polls the specified valuators.
blkqread | |
Reads multiple entries from the event queue. | |
genobj | |
Returns a unique integer for use as an object identifier. | |
gentag | |
Returns a unique integer for use as a tag number. | |
getbackface | |
Indicates whether backfacing polygon removal is on or off. | |
getbuffer | |
Indicates which buffers are enabled for drawing. | |
getbutton | |
Returns the current state of a button. | |
getcmmode | |
Returns the organization of the current color map. | |
getcolor | |
Returns the current color in color map mode. | |
getcpos | |
Returns the current character position. | |
getcursor | |
Returns the cursor characteristics. | |
getdcm | |
Indicates whether depth-cue mode is on or off. | |
getdescender | |
Returns the baseline extent of the longest character descender. | |
getdev | |
Reads a list of valuators. | |
getdisplaymode | |
Returns the current display mode. | |
getdrawmode | |
Returns the current drawing mode. | |
getfont | |
Returns the current raster font number. | |
getgdesc | |
Returns information about currently installed graphics hardware. | |
getgpos | |
Gets the current graphics position. | |
getheight | |
Returns the maximum character height in the current raster font. | |
getlsrepeat | |
Returns the linestyle repeat count. | |
getlstyle | |
Returns the current linestyle. | |
getlwidth | |
Returns the current linewidth. | |
getmap | |
Returns the number of the current color map. | |
getmatrix | |
Gets a copy of the current transformation matrix. | |
getmcolor | |
Gets a copy of the RGB values for a color map entry. | |
getmcolors | |
Returns a range of color map RGB values. | |
getmmode | |
Returns the current matrix mode. | |
getnurbsproperty | |
Returns the current value of a trimmed NURBS surfaces display property. | |
getopenobj | |
Returns the current open object. | |
getorigin | |
Returns the position of a window. | |
getpattern | |
Returns the index of the current fill pattern. | |
getplanes | |
Returns the number of available bitplanes. | |
getscrmask | |
Returns the current screenmask. | |
getsize | |
Returns the size of a window. | |
getsm | |
Returns the current shading style used to draw filled polygons. | |
getvaluator | |
Returns the current state of a valuator. | |
getviewport | |
Gets a copy of the dimensions of the current viewport. | |
getwritemask | |
Returns the current writemask. | |
getzbuffer | |
Indicates whether z-buffering is on or off. | |
gRGBcolor | |
Returns the current color in RGB mode. | |
gRGBmask | |
Returns the current RGB writemask. | |
gversion | |
Returns the version of GL being used. | |
qread | |
Reads the first entry in the event queue. | |
strwidth | |
Returns the width of the specified text string. | |
winget | |
Returns the identifier of the current window. |