2 * Copied from the X sources.
7 Copyright 1985, 1986, 1987,1998 The Open Group
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
15 The above copyright notice and this permission notice shall be included
16 in all copies or substantial portions of the Software.
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.
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
33 #ifndef XPARSEGEOMETRY_REPL_H
34 #define XPARSEGEOMETRY_REPL_H
36 #define NoValue 0x0000
39 #define WidthValue 0x0004
40 #define HeightValue 0x0008
41 #define AllValues 0x000F
42 #define XNegative 0x0010
43 #define YNegative 0x0020
45 extern int XParseGeometry (const char *string, /* INPUT */
46 int *x, int *y, /* RETURN */
47 unsigned int *width, unsigned int *height); /* RETURN */