Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » GC.drawRoundedRectangle(...) excludes bottom and right edge. Is this working as designed ?
GC.drawRoundedRectangle(...) excludes bottom and right edge. Is this working as designed ? [message #370479] Sun, 01 June 2003 18:31 Go to next message
Eclipse UserFriend
The GC.drawRoundedRectangle(...) method doesn't include the right and
bottom edge. I'm using WinXP and swt-win32-2133.dll.

Is this behavhior working as designed, and if so does it occur on every
platform ?

I know the fill API should exclude the edges, but in fact the
GC.fillRoundRectangle(...) doubles up and excludes two pixels of the
right and bottom edges.

Best regards,

Joe
Re: GC.drawRoundedRectangle(...) excludes bottom and right edge. Is this working as designed ? [message #370496 is a reply to message #370479] Mon, 02 June 2003 10:48 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

This is a bug in SWT on win32. It works fine on GTK. Open a bugzilla

drawFocus() is also inconsistent with drawRectangle(), but it is
consistently inconsistent on all platforms.

"Joe Winchester" <winchest@uk.ibm.com> wrote in message
news:3EDA7EC2.9DC6ED57@uk.ibm.com...
> The GC.drawRoundedRectangle(...) method doesn't include the right and
> bottom edge. I'm using WinXP and swt-win32-2133.dll.
>
> Is this behavhior working as designed, and if so does it occur on every
> platform ?
>
> I know the fill API should exclude the edges, but in fact the
> GC.fillRoundRectangle(...) doubles up and excludes two pixels of the
> right and bottom edges.
>
> Best regards,
>
> Joe
>
Previous Topic:tabfolder - tabs on bottom?
Next Topic:Why no API to disable TabItem?
Goto Forum:
  


Current Time: Wed Oct 29 00:55:15 EDT 2025

Powered by FUDForum. Page generated in 0.04494 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top