Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » What's the difference between CAP_FLAT and CAP_SQUARE?
What's the difference between CAP_FLAT and CAP_SQUARE? [message #454562] Sun, 24 April 2005 20:10 Go to next message
Asim Ullah is currently offline Asim UllahFriend
Messages: 24
Registered: July 2009
Junior Member
Can someone tell me what the difference is between the GC endcap styles,
CAP_FLAT and CAP_SQUARE?

After drawing several lines with both styles,
I've concluded that they're the same. Is that correct?
Re: What's the difference between CAP_FLAT and CAP_SQUARE? [message #454569 is a reply to message #454562] Sun, 24 April 2005 23:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aaa.domain.invalid

Hi,
My 2c..
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet168.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

After running the above example it seems like the CAP_SQUARE extends the
original line which CAP_FLAT does not.
-chhil


Asim Ullah wrote:
> Can someone tell me what the difference is between the GC endcap styles,
> CAP_FLAT and CAP_SQUARE?
>
> After drawing several lines with both styles,
> I've concluded that they're the same. Is that correct?
>
Re: What's the difference between CAP_FLAT and CAP_SQUARE? [message #454571 is a reply to message #454569] Mon, 25 April 2005 00:11 Go to previous message
Asim Ullah is currently offline Asim UllahFriend
Messages: 24
Registered: July 2009
Junior Member
yup, you're right, Chhil. Thanks for the sanity check.
I was trying to compare thin diagonals.
Not a good comparison really.
Previous Topic:PNG support in SWT Toolbar
Next Topic:OS X anti aliasing
Goto Forum:
  


Current Time: Thu Mar 04 10:42:48 GMT 2021

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

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

Back to the top