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 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
26 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39 _mesa_RasterPos2d(GLdouble x
, GLdouble y
);
42 _mesa_RasterPos2f(GLfloat x
, GLfloat y
);
45 _mesa_RasterPos2i(GLint x
, GLint y
);
48 _mesa_RasterPos2s(GLshort x
, GLshort y
);
51 _mesa_RasterPos3d(GLdouble x
, GLdouble y
, GLdouble z
);
54 _mesa_RasterPos3f(GLfloat x
, GLfloat y
, GLfloat z
);
57 _mesa_RasterPos3i(GLint x
, GLint y
, GLint z
);
60 _mesa_RasterPos3s(GLshort x
, GLshort y
, GLshort z
);
63 _mesa_RasterPos4d(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
66 _mesa_RasterPos4f(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
69 _mesa_RasterPos4i(GLint x
, GLint y
, GLint z
, GLint w
);
72 _mesa_RasterPos4s(GLshort x
, GLshort y
, GLshort z
, GLshort w
);
75 _mesa_RasterPos2dv(const GLdouble
*v
);
78 _mesa_RasterPos2fv(const GLfloat
*v
);
81 _mesa_RasterPos2iv(const GLint
*v
);
84 _mesa_RasterPos2sv(const GLshort
*v
);
87 _mesa_RasterPos3dv(const GLdouble
*v
);
90 _mesa_RasterPos3fv(const GLfloat
*v
);
93 _mesa_RasterPos3iv(const GLint
*v
);
96 _mesa_RasterPos3sv(const GLshort
*v
);
99 _mesa_RasterPos4dv(const GLdouble
*v
);
102 _mesa_RasterPos4fv(const GLfloat
*v
);
105 _mesa_RasterPos4iv(const GLint
*v
);
108 _mesa_RasterPos4sv(const GLshort
*v
);
111 /**********************************************************************/
112 /** \name GL_MESA_window_pos */
113 /**********************************************************************/
117 _mesa_WindowPos2dMESA(GLdouble x
, GLdouble y
);
120 _mesa_WindowPos2fMESA(GLfloat x
, GLfloat y
);
123 _mesa_WindowPos2iMESA(GLint x
, GLint y
);
126 _mesa_WindowPos2sMESA(GLshort x
, GLshort y
);
129 _mesa_WindowPos3dMESA(GLdouble x
, GLdouble y
, GLdouble z
);
132 _mesa_WindowPos3fMESA(GLfloat x
, GLfloat y
, GLfloat z
);
135 _mesa_WindowPos3iMESA(GLint x
, GLint y
, GLint z
);
138 _mesa_WindowPos3sMESA(GLshort x
, GLshort y
, GLshort z
);
141 _mesa_WindowPos4dMESA(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
144 _mesa_WindowPos4fMESA(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
147 _mesa_WindowPos4iMESA(GLint x
, GLint y
, GLint z
, GLint w
);
150 _mesa_WindowPos4sMESA(GLshort x
, GLshort y
, GLshort z
, GLshort w
);
153 _mesa_WindowPos2dvMESA(const GLdouble
*v
);
156 _mesa_WindowPos2fvMESA(const GLfloat
*v
);
159 _mesa_WindowPos2ivMESA(const GLint
*v
);
162 _mesa_WindowPos2svMESA(const GLshort
*v
);
165 _mesa_WindowPos3dvMESA(const GLdouble
*v
);
168 _mesa_WindowPos3fvMESA(const GLfloat
*v
);
171 _mesa_WindowPos3ivMESA(const GLint
*v
);
174 _mesa_WindowPos3svMESA(const GLshort
*v
);
177 _mesa_WindowPos4dvMESA(const GLdouble
*v
);
180 _mesa_WindowPos4fvMESA(const GLfloat
*v
);
183 _mesa_WindowPos4ivMESA(const GLint
*v
);
186 _mesa_WindowPos4svMESA(const GLshort
*v
);
189 _mesa_init_rastpos( GLcontext
* ctx
);