Updated PCI IDs to latest snapshot.
[tangerine.git] / rom / cgfx / writepixelarray.c
blob3c8d1f1b25179a294b3c94ec65cffe688f725adb
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, WritePixelArray,
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(UBYTE , srcformat , D7),
29 /* LOCATION */
30 struct Library *, CyberGfxBase, 21, 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_WritePixelArray(src
59 , srcx, srcy
60 , srcmod
61 , rp
62 , destx, desty
63 , width, height
64 , srcformat
65 , GfxBase
68 else return 0;
70 AROS_LIBFUNC_EXIT
71 } /* WritePixelArray */