117ca54c3Smrg/* 217ca54c3Smrg * Copyright 1990, 1991 Network Computing Devices; 3ea1d6981Smrg * Portions Copyright 1987 by Digital Equipment Corporation 417ca54c3Smrg * 517ca54c3Smrg * Permission to use, copy, modify, distribute, and sell this software and 617ca54c3Smrg * its documentation for any purpose is hereby granted without fee, provided 717ca54c3Smrg * that the above copyright notice appear in all copies and that both that 817ca54c3Smrg * copyright notice and this permission notice appear in supporting 917ca54c3Smrg * documentation, and that the names of Network Computing Devices or Digital 1017ca54c3Smrg * not be used in advertising or publicity pertaining to distribution 1117ca54c3Smrg * of the software without specific, written prior permission. 12ea1d6981Smrg * Network Computing Devices and Digital make no representations 13ea1d6981Smrg * about the suitability of this software for any purpose. It is provided 1417ca54c3Smrg * "as is" without express or implied warranty. 1517ca54c3Smrg * 1617ca54c3Smrg * NETWORK COMPUTING DEVICES AND DIGITAL DISCLAIM ALL WARRANTIES WITH 1717ca54c3Smrg * REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF 1817ca54c3Smrg * MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NETWORK COMPUTING DEVICES 1917ca54c3Smrg * OR DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 2017ca54c3Smrg * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 2117ca54c3Smrg * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 2217ca54c3Smrg * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 2317ca54c3Smrg * THIS SOFTWARE. 2417ca54c3Smrg */ 2517ca54c3Smrg 2617ca54c3Smrg/* 2717ca54c3Smrg 2817ca54c3SmrgPortions Copyright 1987, 1994, 1998 The Open Group 2917ca54c3Smrg 3017ca54c3SmrgPermission to use, copy, modify, distribute, and sell this software and its 3117ca54c3Smrgdocumentation for any purpose is hereby granted without fee, provided that 3217ca54c3Smrgthe above copyright notice appear in all copies and that both that 3317ca54c3Smrgcopyright notice and this permission notice appear in supporting 3417ca54c3Smrgdocumentation. 3517ca54c3Smrg 3617ca54c3SmrgThe above copyright notice and this permission notice shall be included in 3717ca54c3Smrgall copies or substantial portions of the Software. 3817ca54c3Smrg 3917ca54c3SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 4017ca54c3SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 4117ca54c3SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 4217ca54c3SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 4317ca54c3SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 4417ca54c3SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 4517ca54c3Smrg 4617ca54c3SmrgExcept as contained in this notice, the name of The Open Group shall not be 4717ca54c3Smrgused in advertising or otherwise to promote the sale, use or other dealings 4817ca54c3Smrgin this Software without prior written authorization from The Open Group. 4917ca54c3Smrg 5017ca54c3Smrg*/ 5117ca54c3Smrg 5217ca54c3Smrg 5317ca54c3Smrg/* 5417ca54c3Smrg * masks & values used by the font lib and the font server 5517ca54c3Smrg */ 5617ca54c3Smrg 5717ca54c3Smrg#ifndef _FSMASKS_H_ 5817ca54c3Smrg#define _FSMASKS_H_ 5917ca54c3Smrg 6017ca54c3Smrg#include <X11/Xmd.h> 6117ca54c3Smrg 6217ca54c3Smrg/* font format macros */ 6317ca54c3Smrg#define BitmapFormatByteOrderMask (1L << 0) 6417ca54c3Smrg#define BitmapFormatBitOrderMask (1L << 1) 6517ca54c3Smrg#define BitmapFormatImageRectMask (3L << 2) 6617ca54c3Smrg#define BitmapFormatScanlinePadMask (3L << 8) 6717ca54c3Smrg#define BitmapFormatScanlineUnitMask (3L << 12) 6817ca54c3Smrg 6917ca54c3Smrg#define BitmapFormatByteOrderLSB (0) 7017ca54c3Smrg#define BitmapFormatByteOrderMSB (1L << 0) 7117ca54c3Smrg#define BitmapFormatBitOrderLSB (0) 7217ca54c3Smrg#define BitmapFormatBitOrderMSB (1L << 1) 7317ca54c3Smrg 7417ca54c3Smrg#define BitmapFormatImageRectMin (0L << 2) 7517ca54c3Smrg#define BitmapFormatImageRectMaxWidth (1L << 2) 7617ca54c3Smrg#define BitmapFormatImageRectMax (2L << 2) 7717ca54c3Smrg 7817ca54c3Smrg#define BitmapFormatScanlinePad8 (0L << 8) 7917ca54c3Smrg#define BitmapFormatScanlinePad16 (1L << 8) 8017ca54c3Smrg#define BitmapFormatScanlinePad32 (2L << 8) 8117ca54c3Smrg#define BitmapFormatScanlinePad64 (3L << 8) 8217ca54c3Smrg 8317ca54c3Smrg#define BitmapFormatScanlineUnit8 (0L << 12) 8417ca54c3Smrg#define BitmapFormatScanlineUnit16 (1L << 12) 8517ca54c3Smrg#define BitmapFormatScanlineUnit32 (2L << 12) 8617ca54c3Smrg#define BitmapFormatScanlineUnit64 (3L << 12) 8717ca54c3Smrg 8817ca54c3Smrg#define BitmapFormatMaskByte (1L << 0) 8917ca54c3Smrg#define BitmapFormatMaskBit (1L << 1) 9017ca54c3Smrg#define BitmapFormatMaskImageRectangle (1L << 2) 9117ca54c3Smrg#define BitmapFormatMaskScanLinePad (1L << 3) 9217ca54c3Smrg#define BitmapFormatMaskScanLineUnit (1L << 4) 9317ca54c3Smrg 9417ca54c3Smrgtypedef CARD32 fsBitmapFormat; 9517ca54c3Smrgtypedef CARD32 fsBitmapFormatMask; 9617ca54c3Smrg 9717ca54c3Smrg#endif /* _FSMASKS_H_ */ 98