hi, i found a bug on my nokia N70
g.translate(50,50);
//g.drawImage(image, 0, 0, TOP_LEFT_ANCHOR);
g.drawRGB(rgbimage, 0, width, 0, 0, width, height, false);
g.translate(-50,-50);
“rgbimage” is an array of int, filled with image.getRGB().
This code should paint the image at (50, 50).
in fact this code works ok on both sun and nokia emulators, but when i run it on my N70 the image is rendered at (0, 0). Using drawImage the image is rendered correctly at (50, 50).
Can someone else try this code on other s60 mobiles?
this is a problem for me, i have to use drawRGB() after the translation of the Graphics’ origin, in an important j2me project.
thank you.