Skip to main content



      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 16:10 Go to next message
Eclipse UserFriend
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 19: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] Sun, 24 April 2005 20:11 Go to previous message
Eclipse UserFriend
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 Jul 17 16:47:47 EDT 2025

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

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

Back to the top