1 #ifndef CLIB_GUIGFX_PROTOS_H
2 #define CLIB_GUIGFX_PROTOS_H
7 ** C prototypes. For use with 32 bit integers only.
9 ** Copyright © 2001 Amiga, Inc.
10 ** All Rights Reserved
15 #endif /* __cplusplus */
18 #include <exec/types.h>
20 APTR
MakePictureA( APTR array
, ULONG width
, ULONG height
, struct TagItem
*tags
);
21 APTR
MakePicture( APTR array
, ULONG width
, ULONG height
, ULONG firstTag
, ... );
22 APTR
LoadPictureA( STRPTR filename
, struct TagItem
*tags
);
23 APTR
LoadPicture( STRPTR filename
, ULONG firstTag
, ... );
24 APTR
ReadPictureA( struct RastPort
*rp
, struct ColorMap
*colormap
, ULONG x
, ULONG y
, ULONG width
, ULONG height
, struct TagItem
*tags
);
25 APTR
ReadPicture( struct RastPort
*rp
, struct ColorMap
*colormap
, ULONG x
, ULONG y
, ULONG width
, ULONG height
, ULONG firstTag
, ... );
26 APTR
ClonePictureA( APTR pic
, struct TagItem
*tags
);
27 APTR
ClonePicture( APTR pic
, ULONG firstTag
, ... );
28 VOID
DeletePicture( APTR pic
);
29 APTR
AddPictureA( APTR psm
, APTR pic
, struct TagItem
*tags
);
30 APTR
AddPicture( APTR psm
, APTR pic
, ULONG firstTag
, ... );
31 APTR
AddPaletteA( APTR psm
, APTR palette
, struct TagItem
*tags
);
32 APTR
AddPalette( APTR psm
, APTR palette
, ULONG firstTag
, ... );
33 APTR
AddPixelArrayA( APTR psm
, APTR array
, ULONG width
, ULONG height
, struct TagItem
*tags
);
34 APTR
AddPixelArray( APTR psm
, APTR array
, ULONG width
, ULONG height
, ULONG firstTag
, ... );
35 VOID
RemColorHandle( APTR colorhandle
);
36 APTR
CreatePenShareMapA( struct TagItem
*tags
);
37 APTR
CreatePenShareMap( Tag tags
, ... );
38 VOID
DeletePenShareMap( APTR psm
);
39 APTR
ObtainDrawHandleA( APTR psm
, struct RastPort
*rp
, struct ColorMap
*cm
, struct TagItem
*tags
);
40 APTR
ObtainDrawHandle( APTR psm
, struct RastPort
*rp
, struct ColorMap
*cm
, ULONG firstTag
, ... );
41 VOID
ReleaseDrawHandle( APTR drawhandle
);
42 BOOL
DrawPictureA( APTR drawhandle
, APTR pic
, ULONG x
, ULONG y
, struct TagItem
*tags
);
43 BOOL
DrawPicture( APTR drawhandle
, APTR pic
, ULONG x
, ULONG y
, ULONG firstTag
, ... );
44 BOOL
MapPaletteA( APTR drawhandle
, APTR palette
, UBYTE
*pentab
, struct TagItem
*tags
);
45 BOOL
MapPalette( APTR drawhandle
, APTR palette
, UBYTE
*pentab
, ULONG firstTag
, ... );
46 LONG
MapPenA( APTR drawhandle
, ULONG rgb
, struct TagItem
*tags
);
47 LONG
MapPen( APTR drawhandle
, ULONG rgb
, ULONG firstTag
, ... );
48 struct BitMap
*CreatePictureBitMapA( APTR drawhandle
, APTR pic
, struct TagItem
*tags
);
49 struct BitMap
*CreatePictureBitMap( APTR drawhandle
, APTR pic
, ULONG firstTag
, ... );
50 ULONG
DoPictureMethodA( APTR pic
, ULONG method
, ULONG
*arguments
);
51 ULONG
DoPictureMethod( APTR pic
, ULONG method
, ULONG firstTag
, ... );
52 ULONG
GetPictureAttrsA( APTR pic
, struct TagItem
*tags
);
53 ULONG
GetPictureAttrs( APTR pic
, ULONG firstTag
, ... );
54 ULONG
LockPictureA( APTR pic
, ULONG mode
, ULONG
*args
);
55 ULONG
LockPicture( APTR pic
, ULONG mode
, ULONG firstTag
, ... );
56 VOID
UnLockPicture( APTR pic
, ULONG mode
);
57 BOOL
IsPictureA( STRPTR filename
, struct TagItem
*tags
);
58 BOOL
IsPicture( STRPTR filename
, ULONG firstTag
, ... );
59 APTR
CreateDirectDrawHandleA( APTR drawhandle
, ULONG sw
, ULONG sh
, ULONG dw
, ULONG dh
, struct TagItem
*tags
);
60 APTR
CreateDirectDrawHandle( APTR drawhandle
, ULONG sw
, ULONG sh
, ULONG dw
, ULONG dh
, ULONG firstTag
, ... );
61 VOID
DeleteDirectDrawHandle( APTR ddh
);
62 BOOL
DirectDrawTrueColorA( APTR ddh
, ULONG
*array
, ULONG x
, ULONG y
, struct TagItem
*tags
);
63 BOOL
DirectDrawTrueColor( APTR ddh
, ULONG
*array
, ULONG x
, ULONG y
, ULONG firstTag
, ... );
64 BOOL
CreatePictureMaskA( APTR pic
, UBYTE
*mask
, ULONG maskwidth
, struct TagItem
*tags
);
65 BOOL
CreatePictureMask( APTR pic
, UBYTE
*mask
, ULONG maskwidth
, ULONG firstTag
, ... );
69 #endif /* __cplusplus */
71 #endif /* CLIB_GUIGFX_PROTOS_H */