Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Writing text in a image and save
Writing text in a image and save [message #456975] Mon, 13 June 2005 14:48
Eclipse UserFriend
Originally posted by: gilbertomsn.yahoo.com

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@yahoo.com
Previous Topic:Using Sleak plugin
Next Topic:Drag and Drop - dragSetData never gets called
Goto Forum:
  


Current Time: Thu Apr 18 06:11:53 GMT 2024

Powered by FUDForum. Page generated in 0.01615 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top