CURRENT RASTER POSITION
[Guide,Ch.2, p.1]
-
-
E.g.,
glRasterPos2f(1.0, 2.1999);
|
---|
has the z and w values defaulted to 1.0 and 0.0, resp.
-
-
glGetFloatv(GL_CURRENT_RASTER_POSITION, pointv)
|
---|
returns the current raster position in the vector pointv
which is an array for storing 4 GLfoats.
-
-
The current raster position is subject to the
model view and perspective matrix transformations,
like glVertices.
--
After transformation,
the current raster position will be clipped.
-
-
If the position is clipped away, then it is
invalid.
--
Use glGetBooleanv() to check if the current
raster position is valid.