|
|
1.1 ! root 1: ! 2: /*********************************************************** ! 3: Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts, ! 4: and the Massachusetts Institute of Technology, Cambridge, Massachusetts. ! 5: ! 6: All Rights Reserved ! 7: ! 8: Permission to use, copy, modify, and distribute this software and its ! 9: documentation for any purpose and without fee is hereby granted, ! 10: provided that the above copyright notice appear in all copies and that ! 11: both that copyright notice and this permission notice appear in ! 12: supporting documentation, and that the names of Digital or MIT not be ! 13: used in advertising or publicity pertaining to distribution of the ! 14: software without specific, written prior permission. ! 15: ! 16: DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ! 17: ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL ! 18: DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ! 19: ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, ! 20: WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ! 21: ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS ! 22: SOFTWARE. ! 23: ! 24: ******************************************************************/ ! 25: /* $Header: gc.h,v 1.45 87/09/11 07:49:43 toddb Exp $ */ ! 26: ! 27: #ifndef GC_H ! 28: #define GC_H ! 29: ! 30: /* clientClipType field in GC */ ! 31: #define CT_NONE 0 ! 32: #define CT_PIXMAP 1 ! 33: #define CT_REGION 2 ! 34: #define CT_UNSORTED 6 ! 35: #define CT_YSORTED 10 ! 36: #define CT_YXSORTED 14 ! 37: #define CT_YXBANDED 18 ! 38: ! 39: #define GCQREASON_VALIDATE 1 ! 40: #define GCQREASON_CHANGE 2 ! 41: #define GCQREASON_COPY_SRC 3 ! 42: #define GCQREASON_COPY_DST 4 ! 43: #define GCQREASON_DESTROY 5 ! 44: ! 45: #define GC_CHANGE_SERIAL_BIT (1L<<31) ! 46: #define GC_CALL_VALIDATE_BIT (1L<<30) ! 47: #define GCExtensionInterest (1L<<29) ! 48: ! 49: #define DRAWABLE_SERIAL_BITS (~(GC_CHANGE_SERIAL_BIT)) ! 50: ! 51: #define MAX_SERIAL_NUM (1L<<28) ! 52: #define NEXT_SERIAL_NUMBER ((++globalSerialNumber) > MAX_SERIAL_NUM ? \ ! 53: (globalSerialNumber = 1): globalSerialNumber); ! 54: ! 55: typedef struct _GCInterest *GCInterestPtr; ! 56: typedef struct _GC *GCPtr; ! 57: extern GCPtr GetScratchGC(); ! 58: extern void FreeScratchGC(); ! 59: #endif /* GC_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.