i'm wondering if anyone could help me with the following code fragment:for (int j = 0; j < 10; j++) g.drawImage(image_font, 8 - j*2, 10 + ( j*8 ), Graphics.TOP | Graphics.LEFT);
the output in wtk1.0.4 is given here:http://homepage.swissonline.ch/crest/wtk104.png
that's what i expected it to do: it's drawing an image several times among each other, shiftig it to pixels left each time.
that's now the output in wtk2:http://homepage.swissonline.ch/crest/wtk2.png
it seems to me that as soon the image reaches the left border of the screen (co-ordinate gets <0), the image content is not shifted left correctly anymore (note that though the content stays on the same place, the length of the image on the right border decreases). if the coordinate is < -8 or so, the image gets shifted correctly left by these 8 pixels, but stays then again until the co-ordinate is -15.
i encountered this clipping problem only on the left border, the others seem to work. also, WTK 2.2 beta shows the same behaviour, so i decided to post it here.
how to you guys paint sprites (compatible to MIDP 1) if drawImage is not working?