Project: SWT
Bug 96445 Need API to check advanced graphics mode
Reported: 2005-05-24 11:23:44 | Status: resolved fixed

Most operating systems offer a different library to do advanced graphics (Mac does not). The advanced graphics support in SWT makes use of this library to implement features such as antialiasing, tranformations, alpha etc. When one of these features is requested, SWT graphics begins to use the advanced library for all graphics operations, even those that are not advanced. Since two different operating system graphics libraries are in use, there may be differences in output (such as string measuring) and performance. We would like to add GC.getAdvanced() and GC.setAdvanced(boolean) to allow appliations to have control over advanced mode.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java