2 ** $VER: cybergraphics_protos.h 41.18 (21.02.1998)
4 ** C prototypes for cybergraphics.library
6 ** Copyright © 1996-1998 by phase5 digital products
7 ** All Rights reserved.
11 #ifndef CLIB_CYBERGRAPHICS_H
12 #define CLIB_CYBERGRAPHICS_H 1
14 #ifndef UTILITY_TAGITEM_H
15 #include <utility/tagitem.h>
18 struct List
*AllocCModeListTagList(struct TagItem
*);
19 struct List
*AllocCModeListTags(Tag
, ...);
20 ULONG
BestCModeIDTagList(struct TagItem
*);
21 ULONG
BestCModeIDTags(Tag
, ...);
22 ULONG
CModeRequestTagList(APTR
, struct TagItem
*);
23 ULONG
CModeRequestTags(APTR
, Tag
, ...);
24 void CVideoCtrlTagList(struct ViewPort
*, struct TagItem
*);
25 void CVideoCtrlTags(struct ViewPort
*, Tag tag1
, ...);
26 void DoCDrawMethodTagList(struct Hook
*, struct RastPort
*, struct TagItem
*);
27 void DoCDrawMethodTags(struct Hook
*, struct RastPort
*, Tag
, ...);
28 ULONG
ExtractColor(struct RastPort
*,struct BitMap
*,ULONG
,ULONG
,ULONG
,ULONG
,ULONG
);
29 ULONG
FillPixelArray(struct RastPort
*, UWORD
, UWORD
, UWORD
, UWORD
, ULONG
);
30 void FreeCModeList(struct List
*);
31 ULONG
GetCyberIDAttr(ULONG
, ULONG
);
32 ULONG
GetCyberMapAttr(struct BitMap
*, ULONG
);
33 ULONG
InvertPixelArray(struct RastPort
*, UWORD
, UWORD
, UWORD
, UWORD
);
34 BOOL
IsCyberModeID(ULONG
);
35 APTR
LockBitMapTagList(APTR
,struct TagItem
*);
36 APTR
LockBitMapTags(APTR
, Tag
, ...);
37 ULONG
MovePixelArray(UWORD
, UWORD
, struct RastPort
*, UWORD
, UWORD
, UWORD
,
39 ULONG
ReadPixelArray(APTR
, UWORD
, UWORD
, UWORD
, struct RastPort
*, UWORD
,
40 UWORD
, UWORD
, UWORD
, UBYTE
);
41 ULONG
ReadRGBPixel(struct RastPort
*, UWORD
, UWORD
);
42 LONG
ScalePixelArray(APTR
,UWORD
,UWORD
,UWORD
,struct RastPort
*,UWORD
,
43 UWORD
,UWORD
,UWORD
,UBYTE
);
44 void UnLockBitMap(APTR
);
45 ULONG
WritePixelArray(APTR
, UWORD
, UWORD
, UWORD
, struct RastPort
*, UWORD
,
46 UWORD
, UWORD
, UWORD
, UBYTE
);
47 ULONG
WriteLUTPixelArray(APTR
, UWORD
, UWORD
, UWORD
, struct RastPort
*, APTR
,
48 UWORD
, UWORD
, UWORD
, UWORD
, UBYTE
);
49 LONG
WriteRGBPixel(struct RastPort
*, UWORD
, UWORD
, ULONG
);
50 void UnLockBitMapTagList(APTR
, struct TagItem
*);
51 void UnLockBitMapTags(APTR
, Tag
, ...);
53 #endif /* !CLIB_CYBERGRAPHICS_H */