specify the raster position for pixel operations
Signature
glRasterPos(
*
args
)
Choose glRasterPosX based on number of args
glRasterPos2d(
GLdouble (
x
)
,
GLdouble (
y
)
)-> void
glRasterPos2dv(
const GLdouble * (
v
)
)-> void
glRasterPos2f(
GLfloat (
x
)
,
GLfloat (
y
)
)-> void
glRasterPos2fv(
const GLfloat * (
v
)
)-> void
glRasterPos2i(
GLint (
x
)
,
GLint (
y
)
)-> void
glRasterPos2iv(
const GLint * (
v
)
)-> void
glRasterPos2s(
GLshort (
x
)
,
GLshort (
y
)
)-> void
glRasterPos2sv(
const GLshort * (
v
)
)-> void
glRasterPos3d(
GLdouble (
x
)
,
GLdouble (
y
)
,
GLdouble (
z
)
)-> void
glRasterPos3d(
x
,
y
,
z
)
glRasterPos3dv(
const GLdouble * (
v
)
)-> void
glRasterPos3f(
GLfloat (
x
)
,
GLfloat (
y
)
,
GLfloat (
z
)
)-> void
glRasterPos3f(
x
,
y
,
z
)
glRasterPos3fv(
const GLfloat * (
v
)
)-> void
glRasterPos3i(
GLint (
x
)
,
GLint (
y
)
,
GLint (
z
)
)-> void
glRasterPos3i(
x
,
y
,
z
)
glRasterPos3iv(
const GLint * (
v
)
)-> void
glRasterPos3s(
GLshort (
x
)
,
GLshort (
y
)
,
GLshort (
z
)
)-> void
glRasterPos3s(
x
,
y
,
z
)
glRasterPos3sv(
const GLshort * (
v
)
)-> void
glRasterPos4d(
GLdouble (
x
)
,
GLdouble (
y
)
,
GLdouble (
z
)
,
GLdouble (
w
)
)-> void
glRasterPos4d(
x
,
y
,
z
,
w
)
glRasterPos4dv(
const GLdouble * (
v
)
)-> void
glRasterPos4f(
GLfloat (
x
)
,
GLfloat (
y
)
,
GLfloat (
z
)
,
GLfloat (
w
)
)-> void
glRasterPos4f(
x
,
y
,
z
,
w
)
glRasterPos4fv(
const GLfloat * (
v
)
)-> void
glRasterPos4i(
GLint (
x
)
,
GLint (
y
)
,
GLint (
z
)
,
GLint (
w
)
)-> void
glRasterPos4i(
x
,
y
,
z
,
w
)
glRasterPos4iv(
const GLint * (
v
)
)-> void
glRasterPos4s(
GLshort (
x
)
,
GLshort (
y
)
,
GLshort (
z
)
,
GLshort (
w
)
)-> void
glRasterPos4s(
x
,
y
,
z
,
w
)
glRasterPos4sv(
const GLshort * (
v
)
)-> void
Parameters
Variables | Description |
x, y, z, w
|
Specify the
,
,
,
and
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
glRasterPos2f
glRasterPos2i
glRasterPos3f