Porting Code that Requires a Current Graphics Position
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
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
Build date: 3/6/2012