3 * Raster position operations.
7 * Mesa 3-D graphics library
10 * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
12 * Permission is hereby granted, free of charge, to any person obtaining a
13 * copy of this software and associated documentation files (the "Software"),
14 * to deal in the Software without restriction, including without limitation
15 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16 * and/or sell copies of the Software, and to permit persons to whom the
17 * Software is furnished to do so, subject to the following conditions:
19 * The above copyright notice and this permission notice shall be included
20 * in all copies or substantial portions of the Software.
22 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
28 * OTHER DEALINGS IN THE SOFTWARE.
42 _mesa_init_rastpos(struct gl_context
*ctx
);
45 _mesa_RasterPos2d(GLdouble x
, GLdouble y
);
47 _mesa_RasterPos2f(GLfloat x
, GLfloat y
);
49 _mesa_RasterPos2i(GLint x
, GLint y
);
51 _mesa_RasterPos2s(GLshort x
, GLshort y
);
53 _mesa_RasterPos3d(GLdouble x
, GLdouble y
, GLdouble z
);
55 _mesa_RasterPos3f(GLfloat x
, GLfloat y
, GLfloat z
);
57 _mesa_RasterPos3i(GLint x
, GLint y
, GLint z
);
59 _mesa_RasterPos3s(GLshort x
, GLshort y
, GLshort z
);
61 _mesa_RasterPos4d(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
63 _mesa_RasterPos4f(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
65 _mesa_RasterPos4i(GLint x
, GLint y
, GLint z
, GLint w
);
67 _mesa_RasterPos4s(GLshort x
, GLshort y
, GLshort z
, GLshort w
);
69 _mesa_RasterPos2dv(const GLdouble
*v
);
71 _mesa_RasterPos2fv(const GLfloat
*v
);
73 _mesa_RasterPos2iv(const GLint
*v
);
75 _mesa_RasterPos2sv(const GLshort
*v
);
77 _mesa_RasterPos3dv(const GLdouble
*v
);
79 _mesa_RasterPos3fv(const GLfloat
*v
);
81 _mesa_RasterPos3iv(const GLint
*v
);
83 _mesa_RasterPos3sv(const GLshort
*v
);
85 _mesa_RasterPos4dv(const GLdouble
*v
);
87 _mesa_RasterPos4fv(const GLfloat
*v
);
89 _mesa_RasterPos4iv(const GLint
*v
);
91 _mesa_RasterPos4sv(const GLshort
*v
);
93 _mesa_WindowPos2d(GLdouble x
, GLdouble y
);
95 _mesa_WindowPos2f(GLfloat x
, GLfloat y
);
97 _mesa_WindowPos2i(GLint x
, GLint y
);
99 _mesa_WindowPos2s(GLshort x
, GLshort y
);
101 _mesa_WindowPos3d(GLdouble x
, GLdouble y
, GLdouble z
);
103 _mesa_WindowPos3f(GLfloat x
, GLfloat y
, GLfloat z
);
105 _mesa_WindowPos3i(GLint x
, GLint y
, GLint z
);
107 _mesa_WindowPos3s(GLshort x
, GLshort y
, GLshort z
);
109 _mesa_WindowPos4dMESA(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
111 _mesa_WindowPos4fMESA(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
113 _mesa_WindowPos4iMESA(GLint x
, GLint y
, GLint z
, GLint w
);
115 _mesa_WindowPos4sMESA(GLshort x
, GLshort y
, GLshort z
, GLshort w
);
117 _mesa_WindowPos2dv(const GLdouble
*v
);
119 _mesa_WindowPos2fv(const GLfloat
*v
);
121 _mesa_WindowPos2iv(const GLint
*v
);
123 _mesa_WindowPos2sv(const GLshort
*v
);
125 _mesa_WindowPos3dv(const GLdouble
*v
);
127 _mesa_WindowPos3fv(const GLfloat
*v
);
129 _mesa_WindowPos3iv(const GLint
*v
);
131 _mesa_WindowPos3sv(const GLshort
*v
);
133 _mesa_WindowPos4dvMESA(const GLdouble
*v
);
135 _mesa_WindowPos4fvMESA(const GLfloat
*v
);
137 _mesa_WindowPos4ivMESA(const GLint
*v
);
139 _mesa_WindowPos4svMESA(const GLshort
*v
);
144 #endif /* RASTPOS_H */