rastpos.h revision 7117f1b4
1/** 2 * \file rastpos.h 3 * Raster position operations. 4 */ 5 6/* 7 * Mesa 3-D graphics library 8 * Version: 4.1 9 * 10 * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. 11 * 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: 18 * 19 * The above copyright notice and this permission notice shall be included 20 * in all copies or substantial portions of the Software. 21 * 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. 28 */ 29 30 31#ifndef RASTPOS_H 32#define RASTPOS_H 33 34 35#include "glheader.h" 36 37 38extern void GLAPIENTRY 39_mesa_RasterPos2d(GLdouble x, GLdouble y); 40 41extern void GLAPIENTRY 42_mesa_RasterPos2f(GLfloat x, GLfloat y); 43 44extern void GLAPIENTRY 45_mesa_RasterPos2i(GLint x, GLint y); 46 47extern void GLAPIENTRY 48_mesa_RasterPos2s(GLshort x, GLshort y); 49 50extern void GLAPIENTRY 51_mesa_RasterPos3d(GLdouble x, GLdouble y, GLdouble z); 52 53extern void GLAPIENTRY 54_mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z); 55 56extern void GLAPIENTRY 57_mesa_RasterPos3i(GLint x, GLint y, GLint z); 58 59extern void GLAPIENTRY 60_mesa_RasterPos3s(GLshort x, GLshort y, GLshort z); 61 62extern void GLAPIENTRY 63_mesa_RasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); 64 65extern void GLAPIENTRY 66_mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); 67 68extern void GLAPIENTRY 69_mesa_RasterPos4i(GLint x, GLint y, GLint z, GLint w); 70 71extern void GLAPIENTRY 72_mesa_RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w); 73 74extern void GLAPIENTRY 75_mesa_RasterPos2dv(const GLdouble *v); 76 77extern void GLAPIENTRY 78_mesa_RasterPos2fv(const GLfloat *v); 79 80extern void GLAPIENTRY 81_mesa_RasterPos2iv(const GLint *v); 82 83extern void GLAPIENTRY 84_mesa_RasterPos2sv(const GLshort *v); 85 86extern void GLAPIENTRY 87_mesa_RasterPos3dv(const GLdouble *v); 88 89extern void GLAPIENTRY 90_mesa_RasterPos3fv(const GLfloat *v); 91 92extern void GLAPIENTRY 93_mesa_RasterPos3iv(const GLint *v); 94 95extern void GLAPIENTRY 96_mesa_RasterPos3sv(const GLshort *v); 97 98extern void GLAPIENTRY 99_mesa_RasterPos4dv(const GLdouble *v); 100 101extern void GLAPIENTRY 102_mesa_RasterPos4fv(const GLfloat *v); 103 104extern void GLAPIENTRY 105_mesa_RasterPos4iv(const GLint *v); 106 107extern void GLAPIENTRY 108_mesa_RasterPos4sv(const GLshort *v); 109 110 111/**********************************************************************/ 112/** \name GL_MESA_window_pos */ 113/**********************************************************************/ 114/*@{*/ 115 116extern void GLAPIENTRY 117_mesa_WindowPos2dMESA(GLdouble x, GLdouble y); 118 119extern void GLAPIENTRY 120_mesa_WindowPos2fMESA(GLfloat x, GLfloat y); 121 122extern void GLAPIENTRY 123_mesa_WindowPos2iMESA(GLint x, GLint y); 124 125extern void GLAPIENTRY 126_mesa_WindowPos2sMESA(GLshort x, GLshort y); 127 128extern void GLAPIENTRY 129_mesa_WindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z); 130 131extern void GLAPIENTRY 132_mesa_WindowPos3fMESA(GLfloat x, GLfloat y, GLfloat z); 133 134extern void GLAPIENTRY 135_mesa_WindowPos3iMESA(GLint x, GLint y, GLint z); 136 137extern void GLAPIENTRY 138_mesa_WindowPos3sMESA(GLshort x, GLshort y, GLshort z); 139 140extern void GLAPIENTRY 141_mesa_WindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w); 142 143extern void GLAPIENTRY 144_mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w); 145 146extern void GLAPIENTRY 147_mesa_WindowPos4iMESA(GLint x, GLint y, GLint z, GLint w); 148 149extern void GLAPIENTRY 150_mesa_WindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w); 151 152extern void GLAPIENTRY 153_mesa_WindowPos2dvMESA(const GLdouble *v); 154 155extern void GLAPIENTRY 156_mesa_WindowPos2fvMESA(const GLfloat *v); 157 158extern void GLAPIENTRY 159_mesa_WindowPos2ivMESA(const GLint *v); 160 161extern void GLAPIENTRY 162_mesa_WindowPos2svMESA(const GLshort *v); 163 164extern void GLAPIENTRY 165_mesa_WindowPos3dvMESA(const GLdouble *v); 166 167extern void GLAPIENTRY 168_mesa_WindowPos3fvMESA(const GLfloat *v); 169 170extern void GLAPIENTRY 171_mesa_WindowPos3ivMESA(const GLint *v); 172 173extern void GLAPIENTRY 174_mesa_WindowPos3svMESA(const GLshort *v); 175 176extern void GLAPIENTRY 177_mesa_WindowPos4dvMESA(const GLdouble *v); 178 179extern void GLAPIENTRY 180_mesa_WindowPos4fvMESA(const GLfloat *v); 181 182extern void GLAPIENTRY 183_mesa_WindowPos4ivMESA(const GLint *v); 184 185extern void GLAPIENTRY 186_mesa_WindowPos4svMESA(const GLshort *v); 187 188extern void 189_mesa_init_rastpos( GLcontext * ctx ); 190 191/*@}*/ 192 193#endif 194