From: | Allan Odgaard |
Date: | 26 Aug 2000 at 10:32:27 |
Subject: | Re: ReadPixelLine8 |
On 26-Aug-00, Rene Hartmann wrote:
> Hi! Have the ReadPixelLine8 a bug? [...]
Seems you didn't read the autodoc completely:
array - pointer to an array of UBYTEs from which to fetch the pixel
data allocate at least (((width+15)>>4)<<4) bytes.
temprp - temporary rastport (copy of rp with Layer set == NULL,
temporary memory allocated for
temprp->BitMap with Rows set == 1,
temprp->BytesPerRow == (((width+15)>>4)<<1),
and temporary memory allocated for
temprp->BitMap->Planes[])
Regards Allan