diff options
author | Silenio Quarti | 2003-05-22 17:42:55 +0000 |
---|---|---|
committer | Silenio Quarti | 2003-05-22 17:42:55 +0000 |
commit | 9587808c887e7873b7526742e33801e8fea96ce6 (patch) | |
tree | af6ef19ab8053e3a5da984762dec00e51e33f0f4 | |
parent | ec7dd224ae6e7f27d43075178570d02775fec612 (diff) | |
download | eclipse.platform.swt-9587808c887e7873b7526742e33801e8fea96ce6.tar.gz eclipse.platform.swt-9587808c887e7873b7526742e33801e8fea96ce6.tar.xz eclipse.platform.swt-9587808c887e7873b7526742e33801e8fea96ce6.zip |
37623
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java index 99cab59746..653072d59a 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java @@ -1449,21 +1449,21 @@ public void fillRoundRectangle (int x, int y, int width, int height, int arcWidt if (nw > naw) { if (nh > nah) { OS.XFillArc(xDisplay, xDrawable, handle, nx, ny, naw, nah, 5760, 5760); - OS.XFillRectangle(xDisplay, xDrawable, handle, nx + naw2, ny, nw - naw, nah2); + OS.XFillRectangle(xDisplay, xDrawable, handle, nx + naw2, ny, nw - naw2 * 2, nah2); OS.XFillArc(xDisplay, xDrawable, handle, nx + nw - naw, ny, naw, nah, 0, 5760); - OS.XFillRectangle(xDisplay, xDrawable, handle, nx, ny + nah2, nw, nh - nah); + OS.XFillRectangle(xDisplay, xDrawable, handle, nx, ny + nah2, nw, nh - nah2 * 2); OS.XFillArc(xDisplay, xDrawable, handle, nx + nw - naw, ny + nh - nah, naw, nah, 17280, 5760); - OS.XFillRectangle(xDisplay, xDrawable, handle, nx + naw2, ny + nh - nah2, nw - naw, nah2); + OS.XFillRectangle(xDisplay, xDrawable, handle, nx + naw2, ny + nh - nah2, nw - naw2 * 2, nah2); OS.XFillArc(xDisplay, xDrawable, handle, nx, ny + nh - nah, naw, nah, 11520, 5760); } else { OS.XFillArc(xDisplay, xDrawable, handle, nx, ny, naw, nh, 5760, 11520); - OS.XFillRectangle(xDisplay, xDrawable, handle, nx + naw2, ny, nw - naw, nh); + OS.XFillRectangle(xDisplay, xDrawable, handle, nx + naw2, ny, nw - naw2 * 2, nh); OS.XFillArc(xDisplay, xDrawable, handle, nx + nw - naw, ny, naw, nh, 17280, 11520); } } else { if (nh > nah) { OS.XFillArc(xDisplay, xDrawable, handle, nx, ny, nw, nah, 0, 11520); - OS.XFillRectangle(xDisplay, xDrawable, handle, nx, ny + nah2, nw, nh - nah); + OS.XFillRectangle(xDisplay, xDrawable, handle, nx, ny + nah2, nw, nh - nah2 * 2); OS.XFillArc(xDisplay, xDrawable, handle, nx, ny + nh - nah, nw, nah, 11520, 11520); } else { OS.XFillArc(xDisplay, xDrawable, handle, nx, ny, nw, nh, 0, 23040); |