Added support for zip files.
[cake.git] / rom / cgfx / readpixelarray.c
blob8867bb6785f73681b25b88c802b823f3170c1b55
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, ReadPixelArray,
17 /* SYNOPSIS */
18 AROS_LHA(APTR , dst , A0),
19 AROS_LHA(UWORD , destx , D0),
20 AROS_LHA(UWORD , desty , D1),
21 AROS_LHA(UWORD , dstmod , D2),
22 AROS_LHA(struct RastPort *, rp , A1),
23 AROS_LHA(UWORD , srcx , D3),
24 AROS_LHA(UWORD , srcy , D4),
25 AROS_LHA(UWORD , width , D5),
26 AROS_LHA(UWORD , height , D6),
27 AROS_LHA(UBYTE , dstformat , D7),
29 /* LOCATION */
30 struct Library *, CyberGfxBase, 20, 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_ReadPixelArray(dst
59 , destx, desty
60 , dstmod
61 , rp
62 , srcx, srcy
63 , width, height
64 , dstformat
65 , GfxBase
68 else return 0;
70 AROS_LIBFUNC_EXIT
71 } /* ReadPixelArray */