/*********************************************************** Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts, and the Massachusetts Institute of Technology, Cambridge, Massachusetts. All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the names of Digital or MIT not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ /* $Header: gc.h,v 1.44 87/06/15 02:48:24 sue Exp $ */ #ifndef GC←H #define GC←H /* clientClipType field in GC */ #define CT←NONE 0 #define CT←PIXMAP 1 #define CT←REGION 2 #define CT←UNSORTED 6 #define CT←YSORTED 10 #define CT←YXSORTED 14 #define CT←YXBANDED 18 #define GCQREASON←VALIDATE 1 #define GCQREASON←CHANGE 2 #define GCQREASON←COPY←SRC 3 #define GCQREASON←COPY←DST 4 #define GCQREASON←DESTROY 5 #define GC←CHANGE←SERIAL←BIT (1L<<31) #define GC←CALL←VALIDATE←BIT (1L<<30) #define GC←EXTENSION←INTEREST BIT (1L<<29) #define DRAWABLE←SERIAL←BITS (~(GC←CHANGE←SERIAL←BIT)) #define MAX←SERIAL←NUM (1L<<28) #define NEXT←SERIAL←NUMBER ((++globalSerialNumber) > MAX←SERIAL←NUM ? \ (globalSerialNumber = 1): globalSerialNumber); typedef struct ←GCInterest *GCInterestPtr; typedef struct ←GC *GCPtr; extern GCPtr GetScratchGC(); extern void FreeScratchGC(); #endif /* GC←H */