Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Drawing waveforms in SWT
Drawing waveforms in SWT [message #453857] Tue, 12 April 2005 10: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 18:34 Go to previous message
Eclipse UserFriend
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: Wed Jul 16 03:05:48 EDT 2025

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

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

Back to the top