Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Graphics
SWT Graphics [message #446607] Sun, 28 November 2004 14:28 Go to next message
Cameron Zemek is currently offline Cameron ZemekFriend
Messages: 9
Registered: July 2009
Junior Member
I posted a question regarding being about to draw rotated text (by any
number of degrees) on the canvas. The only solution that I got was to use
Java2D to draw to an SWT image.

Is there any plans to have a 2D Graphics API in SWT for drawing to the
canvas? Without this it is difficult (if not impossible) to create certain
custom components in SWT.
Re: SWT Graphics [message #446621 is a reply to message #446607] Mon, 29 November 2004 19:19 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
We are looking into improving SWT graphics.

"Cameron Zemek" <grom358_spamkill@yahoo.com.au> wrote in message
news:cocnal$r2c$1@www.eclipse.org...
> I posted a question regarding being about to draw rotated text (by any
> number of degrees) on the canvas. The only solution that I got was to use
> Java2D to draw to an SWT image.
>
> Is there any plans to have a 2D Graphics API in SWT for drawing to the
> canvas? Without this it is difficult (if not impossible) to create certain
> custom components in SWT.
>
Re: SWT Graphics [message #446627 is a reply to message #446607] Tue, 30 November 2004 00:14 Go to previous message
MP Mising name is currently offline MP Mising nameFriend
Messages: 18
Registered: July 2009
Junior Member
Cameron Zemek wrote:

> I posted a question regarding being about to draw rotated text (by any
> number of degrees) on the canvas. The only solution that I got was to
> use Java2D to draw to an SWT image.
> Is there any plans to have a 2D Graphics API in SWT for drawing to the
> canvas? Without this it is difficult (if not impossible) to create
> certain custom components in SWT.
>
I agree. We would like to create some custom components that would
allow us to port from Swing to SWT. However, without an SWT equiv for
Java2D, we're not able to do it as of now. This is in part due to a bug
with using SWT and AWT (java2d) on OSX which is already in bugzilla.

No problem really at this point though. We'll stick with our Swing
implementation and revisit the feasibility of an SWT port in the future
if need be.

MP
Previous Topic:Loading Eclipse to a Citrix Server
Next Topic:StyledText w/ images
Goto Forum:
  


Current Time: Sat Apr 27 01:00:35 GMT 2024

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

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

Back to the top