Project: SWT
Bug 256173 GC#setTransform() loses antialias setting
Reported: 2008-11-21 16:22:33 | Status: resolved fixed

try this in cocoa gc.setAntialias(SWT.OFF); Transform t = new Transform(e.display); gc.setTransform(t); gc.drawOval(1, 10, 20, 20); // this oval will be antialias If I setAntialias(SWT.OFF) after calling setTransform(t) it all works fine. SSQ said to check setClipping can have the same problem. And maybe it loses alpha too.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSGraphicsContext.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java