Project: SWT
Bug 38337 GC.drawRoundedRectangle(...) method doesn't include the right and bottom edge
Reported: 2003-06-02 12:42:48 | Status: resolved fixed

The GC.drawRoundedRectangle(...) method doesn't include the right and bottom edge. I'm using WinXP and swt-win32-2133.dll. This behavior is inconsistent with the other APIs such as drawRectangle, drawOval, etc..., that include the bottom and right edge, and on GTK the rounded rectangle is drawn correctly with all 4 edges included. For the fill API GC.fillRoundRectangle(...) that should exclude the edges, it actually doubles up and excludes two pixels of theright and bottom edges.

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