Community
Participate
Working Groups
I think that since SWT now supports advanced graphics this should be taken advantage of. It bugs me that design mode doesn't support all rotations and transparencies I set up.
Created attachment 27714 [details] Picture of SWT device using advanced graphics
Created attachment 27715 [details] Patch to org.eclipse.birt.chart.device.extension to add SWT advanced graphics support I already played with the SWT device to add transparency, anti-aliasing and better text rotation since it bugged me. Feel free to use this or not :)
Thank you for the patch! Zhiqiang will take a look on this.
Thanks Morten, I've applied your patch to the SWT renderer. The question is, the drawArc/fillArc functions in GC doesn't result in the same effect when antialias/transparency ability turned on or off, at least under Windows platform. So we decide not to use these settings by default unless we can fixed this arc issue. Currently, if you do want the advanced features, please add an extra argument to your VM options: -DR31ENHANCE, this will then force the renderer to run in an advanced mode.
Ditto.
fixed
Sorry been behind on emails I should have answered this earlier :) Do you have an example that shows the arc issue? I was thinking last time I looked at this the "right" thing todo with a lot of it is probably to use the swt.Path system (which can also solve the rotated gradients etc on SWT). That might eliminate the problem and a lot of complex rendering and calculations can be given to GDI(+). If you don't do it, I might look at that for the June release since it's, I guess, way too late for the January BIRT release :)
You can refer to this bug: bugzilla 112104(https://bugs.eclipse.org/bugs/show_bug.cgi?id=112104) for the arc issue. It's great if you can find out a better solution. Thanks.
Comment on attachment 27715 [details] Patch to org.eclipse.birt.chart.device.extension to add SWT advanced graphics support per Ganymede IP log