@Salass @Broadblues
I'm not in front of my X1000, I will check this evening.
@Broadblues,
I use too LockBitMapTags(bitmap_vignette ,LBM_BaseAddress, &buffer,LBM_BytesPerRow,&srcBytesPerRow, TAG_END);
it seems that you are right, thank you, I don't have my X1000 but I have the previous Autodocs and I don't find this function in graphics.doc (and i don't find an equivalent except the Picasso96 p96LockBitMap & p96GetBitMapAttr.
I use the LockBitMapTags "buffer" and the "srcBytesPerRow" for
Code: Select all
IDoMethod(dtype,
PDTM_READPIXELARRAY,
// renderInfo.Memory, // filled by p96 functions p96LockBitMap
buffer, // filled by gfx functions LockBitMapTags
PBPAFMT_ARGB,
srcBytesPerRow, // filled by p96GetBitMapAttr or LockBitMapTags
0,
0,
bmh->bmh_Width,
bmh->bmh_Height);
edit : I will try later to use p96LockBitMap & p96GetBitMapAttr instead of LockBitMapTags.
Unfortunately, p96LockBitMap seems to be obsolete too (not the case of p96GetBitMapAttr() ?)