Control to keep Text and Image [message #461874] |
Tue, 04 October 2005 08:09 |
Eclipse User |
|
|
|
Originally posted by: j_lalith.yahoo.com
Hi All,
Is there a Controller to keep both the Texts and Images,
If we use GC drawImage and drawText
How can we retreive the values back from the Display
Thanks
|
|
|
Re: Control to keep Text and Image [message #461910 is a reply to message #461874] |
Tue, 04 October 2005 13:55 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
You can't get values back from the display because the display is just a
bitmap of pixels. The draw image and draw text simply convert down to
setting pixels in the display. The original image and text are not
retained by the display.
What is it you are really trying to do? Are you trying to just capture
the picture of what is on the display? Are you trying to keep a record
of what images and text were drawn?
Lalith wrote:
> Hi All,
>
> Is there a Controller to keep both the Texts and Images,
>
> If we use GC drawImage and drawText
>
> How can we retreive the values back from the Display
>
> Thanks
>
>
--
Thanks,
Rich Kulp
|
|
|
Re: Control to keep Text and Image [message #462004 is a reply to message #461910] |
Tue, 04 October 2005 23:09 |
Eclipse User |
|
|
|
Originally posted by: j_lalith.hotmail.com
Thanks for the reply Rich,
What am going to do is, develop a very primitive word processor using SWT.
For e.g users can inserts(input) texts and images(to a certain position)
and should be able to save and reload with the same settings (positions).
basically a primitive word processor.
Eventually to generate a XML from the display.
It would be really handy if I can incooperate drag and drop and cut and
paste features into this, I know there allready developed little word
processors which supports Texts only but not the both Texts and Images at
the same time.
Can u let us know how to proceed on this, Ideas are welcome.
wating for a reply soon
thanks
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03611 seconds