I am a J2ME programmer, And I use the code lines below to create a Image Buffer.
public void paint(Graphics g) {
…
Image image = Image.createImage(width, height); // creating a mutable Image (Image Buffer)
Graphics imageGraphics = image.getGraphics();
imageGraphics.fillRect(0, 0, width, height); // Draw a rect into the Image buffer
imageGraphics.drawString(“Image Graphics”, width/2, 0,0); // Draw a Text into the Image Buffer
g.drawImage(image, 0, 0, Graphics.TOP | Graphics.LEFT); // Draw Image Buffer on device
}
How can I do the same with Corona, plz ?
Thanks [import]uid: 30062 topic_id: 6818 reply_id: 306818[/import]