1/**
2 * \file rastpos.h
3 * Raster position operations.
4 */
5
6/*
7 * Mesa 3-D graphics library
8 *
9 * Copyright (C) 1999-2002  Brian Paul   All Rights Reserved.
10 *
11 * Permission is hereby granted, free of charge, to any person obtaining a
12 * copy of this software and associated documentation files (the "Software"),
13 * to deal in the Software without restriction, including without limitation
14 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15 * and/or sell copies of the Software, and to permit persons to whom the
16 * Software is furnished to do so, subject to the following conditions:
17 *
18 * The above copyright notice and this permission notice shall be included
19 * in all copies or substantial portions of the Software.
20 *
21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
22 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
24 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
25 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
26 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
27 * OTHER DEALINGS IN THE SOFTWARE.
28 */
29
30
31#ifndef RASTPOS_H
32#define RASTPOS_H
33
34
35#include "glheader.h"
36
37
38struct _glapi_table;
39struct gl_context;
40
41extern void
42_mesa_init_rastpos(struct gl_context *ctx);
43
44void
45_mesa_RasterPos(struct gl_context *ctx, const GLfloat vObj[4]);
46
47void GLAPIENTRY
48_mesa_RasterPos2d(GLdouble x, GLdouble y);
49void GLAPIENTRY
50_mesa_RasterPos2f(GLfloat x, GLfloat y);
51void GLAPIENTRY
52_mesa_RasterPos2i(GLint x, GLint y);
53void GLAPIENTRY
54_mesa_RasterPos2s(GLshort x, GLshort y);
55void GLAPIENTRY
56_mesa_RasterPos3d(GLdouble x, GLdouble y, GLdouble z);
57void GLAPIENTRY
58_mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z);
59void GLAPIENTRY
60_mesa_RasterPos3i(GLint x, GLint y, GLint z);
61void GLAPIENTRY
62_mesa_RasterPos3s(GLshort x, GLshort y, GLshort z);
63void GLAPIENTRY
64_mesa_RasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
65void GLAPIENTRY
66_mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
67void GLAPIENTRY
68_mesa_RasterPos4i(GLint x, GLint y, GLint z, GLint w);
69void GLAPIENTRY
70_mesa_RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
71void GLAPIENTRY
72_mesa_RasterPos2dv(const GLdouble *v);
73void GLAPIENTRY
74_mesa_RasterPos2fv(const GLfloat *v);
75void GLAPIENTRY
76_mesa_RasterPos2iv(const GLint *v);
77void GLAPIENTRY
78_mesa_RasterPos2sv(const GLshort *v);
79void GLAPIENTRY
80_mesa_RasterPos3dv(const GLdouble *v);
81void GLAPIENTRY
82_mesa_RasterPos3fv(const GLfloat *v);
83void GLAPIENTRY
84_mesa_RasterPos3iv(const GLint *v);
85void GLAPIENTRY
86_mesa_RasterPos3sv(const GLshort *v);
87void GLAPIENTRY
88_mesa_RasterPos4dv(const GLdouble *v);
89void GLAPIENTRY
90_mesa_RasterPos4fv(const GLfloat *v);
91void GLAPIENTRY
92_mesa_RasterPos4iv(const GLint *v);
93void GLAPIENTRY
94_mesa_RasterPos4sv(const GLshort *v);
95void GLAPIENTRY
96_mesa_WindowPos2d(GLdouble x, GLdouble y);
97void GLAPIENTRY
98_mesa_WindowPos2f(GLfloat x, GLfloat y);
99void GLAPIENTRY
100_mesa_WindowPos2i(GLint x, GLint y);
101void GLAPIENTRY
102_mesa_WindowPos2s(GLshort x, GLshort y);
103void GLAPIENTRY
104_mesa_WindowPos3d(GLdouble x, GLdouble y, GLdouble z);
105void GLAPIENTRY
106_mesa_WindowPos3f(GLfloat x, GLfloat y, GLfloat z);
107void GLAPIENTRY
108_mesa_WindowPos3i(GLint x, GLint y, GLint z);
109void GLAPIENTRY
110_mesa_WindowPos3s(GLshort x, GLshort y, GLshort z);
111void GLAPIENTRY
112_mesa_WindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
113void GLAPIENTRY
114_mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
115void GLAPIENTRY
116_mesa_WindowPos4iMESA(GLint x, GLint y, GLint z, GLint w);
117void GLAPIENTRY
118_mesa_WindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w);
119void GLAPIENTRY
120_mesa_WindowPos2dv(const GLdouble *v);
121void GLAPIENTRY
122_mesa_WindowPos2fv(const GLfloat *v);
123void GLAPIENTRY
124_mesa_WindowPos2iv(const GLint *v);
125void GLAPIENTRY
126_mesa_WindowPos2sv(const GLshort *v);
127void GLAPIENTRY
128_mesa_WindowPos3dv(const GLdouble *v);
129void GLAPIENTRY
130_mesa_WindowPos3fv(const GLfloat *v);
131void GLAPIENTRY
132_mesa_WindowPos3iv(const GLint *v);
133void GLAPIENTRY
134_mesa_WindowPos3sv(const GLshort *v);
135void GLAPIENTRY
136_mesa_WindowPos4dvMESA(const GLdouble *v);
137void GLAPIENTRY
138_mesa_WindowPos4fvMESA(const GLfloat *v);
139void GLAPIENTRY
140_mesa_WindowPos4ivMESA(const GLint *v);
141void GLAPIENTRY
142_mesa_WindowPos4svMESA(const GLshort *v);
143
144
145/*@}*/
146
147#endif /* RASTPOS_H */
148