Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OpenGL does not maintain a current graphics position. IRIS GL functions that depend on the current graphics position, such as move, draw, and rmv, have no equivalents in OpenGL.
Older versions of IRIS GL included drawing commands that relied upon the current graphics position, though their use has been discouraged. You will need to rewrite your code if you relied on the current graphics position in any way, or used any of the following routines:
- draw and move
- pmv, pdr, and pclos
- rdr, rmv, rpdr, and rpmv
- getgpos
OpenGL has a concept of raster position that corresponds to IRIS GL's current character position. For more information on raster positioning, see Porting Pixel Operations.
This topic includes information on the following.
- Porting Screen and Buffer Clearing Commands
- Porting Matrix and Transformation Functions
- Porting MSINGLE Mode Code
- Porting Functions that Get Matrices and Transformations
- Porting Viewports, Screenmasks, and Scrboxes
- Porting Clipping Planes