Hi,
I'm trying to draw a picture using something like this
DirectGraphics dg = DirectUtils.getDirectGraphics(someGraphics);
dg.drawPixels(byte sprite[],byte transparency[], 0, offset, x, y, 0,dg.TYPE_BYTE_1_GRAY_VERTICAL);
On 6310sim this is working fine and the pixels are draw.
On 7210sim i'm getting an IllegalArgumentException ...
Does anyone knows what's the problem with 7210 implementation of DirectGraphics.drawPixels ?
TYPE_BYTE_1_GRAY_VERTICAL drawing format is not supported for this version of simulator ? In this case what format I could use ?

Reply With Quote

