Port code that needs 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
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for