[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Writing text in a image and save
|
Hi all,
I want to write text in an existent image and save the image. The following
example located at
http://www.eclipse.org/articles/Article-SWT-images/graphics-resources.html#Manipulating%20Image%20Data
shows as write text in a image, but only for shows on the screen:
GC gc = new GC(image);
gc.setForeground(display.getSystemColor(SWT.COLOR_WHITE));
gc.drawText("I've been drawn on",0,0,true);
gc.dispose();
How I can get the GC object and save? Or have another way to write the text
in the image and save later?
Thanks and best regards!
Gilberto Martins dos Santos Neto
System Analyst
gilbertomsn@xxxxxxxxx