2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 #include "graphics_intern.h"
10 /*****************************************************************************
13 #include <proto/graphics.h>
15 AROS_LH6(LONG
, ReadPixelLine8
,
18 AROS_LHA(struct RastPort
* , rp
, A0
),
19 AROS_LHA(LONG
, xstart
, D0
),
20 AROS_LHA(LONG
, ystart
, D1
),
21 AROS_LHA(ULONG
, width
, D2
),
22 AROS_LHA(UBYTE
* , array
, A2
),
23 AROS_LHA(struct RastPort
* , tempRP
, A1
),
26 struct GfxBase
*, GfxBase
, 128, Graphics
)
29 Read the pen numbers of a horizontal line into an array.
33 xstart,ystart - coordinate
34 width - count of pixels to read (must be positive).
35 array - array for storing of the pen numbers. Size must be
36 at least ((width+15)>>4)<<4 bytes.
37 tempRP - see ReadPixelArray8().
40 Number of pixels read.
43 This function doesn't make sense on true-/hicolor rastports.
54 27-11-96 digulla automatically created from
55 graphics_lib.fd and clib/graphics_protos.h
57 *****************************************************************************/
61 return ReadPixelArray8(rp
,
71 } /* ReadPixelLine8 */