Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Drawing waveforms in SWT
Drawing waveforms in SWT [message #453857] Tue, 12 April 2005 14:48 Go to next message
Eclipse UserFriend
Originally posted by: ashish.patwa.ge.com

Hi,

I am working on migrating an existing Swing application into SWT. My Swing
code uses a lot of GeneralPath objects in drawing waveforms. I checked the
SWT api and it supports drawing of the shapes and has some functions to
deal with points but did't find any api abstraction in between (e.g. api
to draw paths etc.) If anybody has tried drawing complex waveforms in
SWT, please let me know how you did it. Some code snippets will be a great
help.

Thanks,
Ashish
Re: Drawing waveforms in SWT [message #453961 is a reply to message #453857] Thu, 14 April 2005 22:34 Go to previous message
No real name is currently offline No real nameFriend
Messages: 97
Registered: July 2009
Member
Use drawLine() and drawPolyLine()!
After all, Swing also uses these APIs.


"Ashish Patwa" <ashish.patwa@ge.com> wrote in message
news:2e04fc79a5425bf1af306fcd8cc1ad0a$1@www.eclipse.org...
> Hi,
>
> I am working on migrating an existing Swing application into SWT. My Swing
> code uses a lot of GeneralPath objects in drawing waveforms. I checked the
> SWT api and it supports drawing of the shapes and has some functions to
> deal with points but did't find any api abstraction in between (e.g. api
> to draw paths etc.) If anybody has tried drawing complex waveforms in
> SWT, please let me know how you did it. Some code snippets will be a great
> help.
>
> Thanks,
> Ashish
>
>
Previous Topic:keyboard shortcuts for cut/copy/paste failing
Next Topic:problem running as SWT APPlication.
Goto Forum:
  


Current Time: Thu Apr 25 23:13:27 GMT 2024

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

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

Back to the top