Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-swt-dev] Java2d features in SWT


Perhaps a better approach might be to write an SWT binding for Agile2D?



"Ivan Markov" <ivan.markov@xxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

04/14/2003 12:24 PM
Please respond to platform-swt-dev

       
        To:        platform-swt-dev@xxxxxxxxxxx
        cc:        
        Subject:        RE: [platform-swt-dev] Java2d features in SWT



I've never worked with GDI+ so take this with a grain of salt, but..

I've read on the GDI/GDI+ newsgroups that GDI+ is still not hardware accelerated; the majority of the rasterizing operations are implemented in software and are very slow, the reason being that  GDI+ is implemented on top of GDI, which, aside from AlphaBlend() doesn't know much about alpha channels.

 

Has this situation changed recently?

 

For me, Java2D<->org.eclipse.swt.graphics.GC interop seems the better solution, especially considering that Java2D had more time to mature and they are starting to implement certain operations in hardware (with Direct3D) recently..

 

/Ivan

 

-----Original Message-----
From:
Randy Hudson [mailto:hudsonr@xxxxxxxxxx]
Sent:
Monday, April 14, 2003 6:42 PM
To:
platform-swt-dev@xxxxxxxxxxx
Subject:
[platform-swt-dev] Java2d features in SWT

 


http://www.eclipse.org/newsportal/article.php3?id=2707&group=eclipse.tools.gef


The community has offered to write JNI support for GDI+ on win32, and Xc/Xr support (I don't know what that is) on Linux.  However, the proposal was to add this support to GEF.  IMO, the proper home for these would be in SWT.


Would the SWT team be willing to investigate providing real GDI+ support or a subset of GDI+ that would be "portable".  Win32 wrappers for GDI+ on SWT have already been posted to Eclipse.org, but the cross-platforms issues must be addressed.  There have been numerous requests for anti-aliasing, font rotation, thick dashed lines, transformations, transparency, etc.


thanks,

Randy


Back to the top