Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/freeglut/src/util/xparsegeometry_repl.h @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 /* | |
| 2 * Copied from the X sources. | |
| 3 */ | |
| 4 | |
| 5 /* | |
| 6 | |
| 7 Copyright 1985, 1986, 1987,1998 The Open Group | |
| 8 | |
| 9 Permission to use, copy, modify, distribute, and sell this software and its | |
| 10 documentation for any purpose is hereby granted without fee, provided that | |
| 11 the above copyright notice appear in all copies and that both that | |
| 12 copyright notice and this permission notice appear in supporting | |
| 13 documentation. | |
| 14 | |
| 15 The above copyright notice and this permission notice shall be included | |
| 16 in all copies or substantial portions of the Software. | |
| 17 | |
| 18 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
| 19 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
| 20 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
| 21 IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR | |
| 22 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | |
| 23 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
| 24 OTHER DEALINGS IN THE SOFTWARE. | |
| 25 | |
| 26 Except as contained in this notice, the name of The Open Group shall | |
| 27 not be used in advertising or otherwise to promote the sale, use or | |
| 28 other dealings in this Software without prior written authorization | |
| 29 from The Open Group. | |
| 30 | |
| 31 */ | |
| 32 | |
| 33 #ifndef XPARSEGEOMETRY_REPL_H | |
| 34 #define XPARSEGEOMETRY_REPL_H | |
| 35 | |
| 36 #define NoValue 0x0000 | |
| 37 #define XValue 0x0001 | |
| 38 #define YValue 0x0002 | |
| 39 #define WidthValue 0x0004 | |
| 40 #define HeightValue 0x0008 | |
| 41 #define AllValues 0x000F | |
| 42 #define XNegative 0x0010 | |
| 43 #define YNegative 0x0020 | |
| 44 | |
| 45 extern int XParseGeometry (const char *string, /* INPUT */ | |
| 46 int *x, int *y, /* RETURN */ | |
| 47 unsigned int *width, unsigned int *height); /* RETURN */ | |
| 48 | |
| 49 | |
| 50 #endif |
