#ifndef GRAPHICS_CLIP_H #define GRAPHICS_CLIP_H /* ** $Filename: graphics/clip.h $ ** $Release: 2.04 Includes, V37.4 $ ** $Revision: 37.2 $ ** $Date: 91/10/24 $ ** ** ** ** (C) Copyright 1985-1991 Commodore-Amiga, Inc. ** All Rights Reserved */ #ifndef EXEC_TYPES_H #include #endif #ifndef GRAPHICS_GFX_H #include #endif #ifndef EXEC_SEMAPHORES_H #include #endif #ifndef UTILITY_HOOKS_H #include #endif #define NEWLOCKS struct Layer { struct Layer *front,*back; struct ClipRect *ClipRect; struct RastPort *rp; struct Rectangle bounds; UBYTE reserved[4]; UWORD priority; UWORD Flags; struct BitMap *SuperBitMap; struct ClipRect *SuperClipRect; APTR Window; WORD Scroll_X,Scroll_Y; struct ClipRect *cr,*cr2,*crnew; struct ClipRect *SuperSaveClipRects; struct ClipRect *_cliprects; struct Layer_Info *LayerInfo; struct SignalSemaphore Lock; struct Hook *BackFill; ULONG reserved1; struct Region *ClipRegion; struct Region *saveClipRects; WORD Width,Height; UBYTE reserved2[18]; struct Region *DamageList; }; struct ClipRect { struct ClipRect *Next; struct ClipRect *prev; struct Layer *lobs; struct BitMap *BitMap; struct Rectangle bounds; void *_p1; void *_p2; LONG reserved; #ifdef NEWCLIPRECTS_1_1 LONG Flags; #endif }; #define CR_NEEDS_NO_CONCEALED_RASTERS 1 #define CR_NEEDS_NO_LAYERBLIT_DAMAGE 2 #define ISLESSX 1 #define ISLESSY 2 #define ISGRTRX 4 #define ISGRTRY 8 #endif