glRasterPos

specify the raster position for pixel operations

Signature

glRasterPos( )->
glRasterPos( * args )
Choose glRasterPosX based on number of args
glRasterPos2d( GLdouble ( x ) , GLdouble ( y ) )-> void
glRasterPos2d( x , y )
glRasterPos2dv( const GLdouble * ( v ) )-> void
glRasterPos2dv( v )
glRasterPos2f( GLfloat ( x ) , GLfloat ( y ) )-> void
glRasterPos2f( x , y )
glRasterPos2fv( const GLfloat * ( v ) )-> void
glRasterPos2fv( v )
glRasterPos2i( GLint ( x ) , GLint ( y ) )-> void
glRasterPos2i( x , y )
glRasterPos2iv( const GLint * ( v ) )-> void
glRasterPos2iv( v )
glRasterPos2s( GLshort ( x ) , GLshort ( y ) )-> void
glRasterPos2s( x , y )
glRasterPos2sv( const GLshort * ( v ) )-> void
glRasterPos2sv( v )
glRasterPos3d( GLdouble ( x ) , GLdouble ( y ) , GLdouble ( z ) )-> void
glRasterPos3d( x , y , z )
glRasterPos3dv( const GLdouble * ( v ) )-> void
glRasterPos3dv( v )
glRasterPos3f( GLfloat ( x ) , GLfloat ( y ) , GLfloat ( z ) )-> void
glRasterPos3f( x , y , z )
glRasterPos3fv( const GLfloat * ( v ) )-> void
glRasterPos3fv( v )
glRasterPos3i( GLint ( x ) , GLint ( y ) , GLint ( z ) )-> void
glRasterPos3i( x , y , z )
glRasterPos3iv( const GLint * ( v ) )-> void
glRasterPos3iv( v )
glRasterPos3s( GLshort ( x ) , GLshort ( y ) , GLshort ( z ) )-> void
glRasterPos3s( x , y , z )
glRasterPos3sv( const GLshort * ( v ) )-> void
glRasterPos3sv( v )
glRasterPos4d( GLdouble ( x ) , GLdouble ( y ) , GLdouble ( z ) , GLdouble ( w ) )-> void
glRasterPos4d( x , y , z , w )
glRasterPos4dv( const GLdouble * ( v ) )-> void
glRasterPos4dv( v )
glRasterPos4f( GLfloat ( x ) , GLfloat ( y ) , GLfloat ( z ) , GLfloat ( w ) )-> void
glRasterPos4f( x , y , z , w )
glRasterPos4fv( const GLfloat * ( v ) )-> void
glRasterPos4fv( v )
glRasterPos4i( GLint ( x ) , GLint ( y ) , GLint ( z ) , GLint ( w ) )-> void
glRasterPos4i( x , y , z , w )
glRasterPos4iv( const GLint * ( v ) )-> void
glRasterPos4iv( v )
glRasterPos4s( GLshort ( x ) , GLshort ( y ) , GLshort ( z ) , GLshort ( w ) )-> void
glRasterPos4s( x , y , z , w )
glRasterPos4sv( const GLshort * ( v ) )-> void
glRasterPos4sv( v )

Parameters

VariablesDescription
x, y, z, w
Specify the x , y , z , and w object coordinates (if present) for the raster position.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glRasterPos
OpenGLContext tests/glutmousewheel.py Lines: 18
OpenGLContext tests/glut_font.py Lines: 35
OpenGLContext tests/_bitmap_font.py Lines: 52, 66, 81
Visvis core/axes.py Lines: 902
glRasterPos2f
OpenGLContext tests/glprint.py Lines: 110
OpenGLContext tests/getteximage.py Lines: 19, 21
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson13.py Lines: 158
Glinter Widget.py Lines: 87
{LGPL} PyUI pyui/renderers/openglGlut.py Lines: 252
{LGPL} PyUI2 renderers/openglGlut.py Lines: 252
{LGPL} PyUI2 system/openglgraphics.py Lines: 243
{GPL} Scocca scocca/frontend/blender/utils.py Lines: 30
glRasterPos2i
OpenGLContext tests/glutbitmapcharacter.py Lines: 24, 30
OpenGLContext tests/glhistogram.py Lines: 62, 77
OpenGLContext tests/gldrawpixels.py Lines: 75
OpenGLContext tests/gldrawpixelssynth.py Lines: 55
OpenGL-Demo PyOpenGL-Demo/redbook/drawf.py Lines: 81
{GPL} Scocca scocca/frontend/blender/elements.py Lines: 206
glRasterPos3f
OpenGLContext OpenGLContext/scenegraph/text/font.py Lines: 332, 347, 362
{LGPL} VisionEgg VisionEgg/Text.py Lines: 426

MathML Rendering

Powered by MathJax