r4722@vps: verhaegs | 2007-05-06 13:11:19 -0400
[cake.git] / rom / cgfx / writepixelarrayalpha.c
blob89643bff3da9f5afd75686cd6d54b297f5ab0ad9
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include "cybergraphics_intern.h"
10 /*****************************************************************************
12 NAME */
13 #include <clib/cybergraphics_protos.h>
15 AROS_LH10(ULONG, WritePixelArrayAlpha,
17 /* SYNOPSIS */
18 AROS_LHA(APTR , src , A0),
19 AROS_LHA(UWORD , srcx , D0),
20 AROS_LHA(UWORD , srcy , D1),
21 AROS_LHA(UWORD , srcmod , D2),
22 AROS_LHA(struct RastPort *, rp , A1),
23 AROS_LHA(UWORD , destx , D3),
24 AROS_LHA(UWORD , desty , D4),
25 AROS_LHA(UWORD , width , D5),
26 AROS_LHA(UWORD , height , D6),
27 AROS_LHA(ULONG , globalalpha , D7),
29 /* LOCATION */
30 struct Library *, CyberGfxBase, 36, Cybergraphics)
32 /* FUNCTION
34 INPUTS
36 RESULT
38 NOTES
40 EXAMPLE
42 BUGS
44 SEE ALSO
46 INTERNALS
48 HISTORY
49 27-11-96 digulla automatically created from
50 cybergraphics_lib.fd and clib/cybergraphics_protos.h
52 *****************************************************************************/
54 AROS_LIBFUNC_INIT
56 if (width && height)
58 return driver_WritePixelArrayAlpha(src
59 , srcx, srcy
60 , srcmod
61 , rp
62 , destx, desty
63 , width, height
64 , globalalpha
65 , GfxBase
68 else return 0;
70 AROS_LIBFUNC_EXIT
71 } /* WritePixelArrayAlpha */