• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Removing fuzzy lines (was Re: [NSBezierPath clipRect] do not do what is says!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing fuzzy lines (was Re: [NSBezierPath clipRect] do not do what is says!)


  • Subject: Re: Removing fuzzy lines (was Re: [NSBezierPath clipRect] do not do what is says!)
  • From: Eric Forget <email@hidden>
  • Date: Fri, 27 Feb 2004 14:52:36 -0500

> As I pointed-out in my other post, this doesn't work 100% of the time.
>
> With the default endcap setting, a line of 1pt thickness from (10,
> 10.5) to (30, 10.5) will be solid, but a similar line from (10.5, 10.5)
> to (30.5, 10.5) will have fuzzy ends. The reason is that unless the
> style is set to NSSquareLineCapStyle, the latter line will only fill
> half a pixel at either end.
>
> It will, of course, work for closed boxes and other similar shapes,
> because the line will enter and leave the corner pixels, filling them
> completely.

Thanks Alastair for your tip. I didn't read your email before answering the
other one...

Eric
___________________________________________________________________

Eric Forget Cafederic
email@hidden <http://www.cafederic.com/>

Fingerprint <86D5 38F5 E1FD 5D9C 71C3 BAA3 797E 70A4 6210 C684>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Removing fuzzy lines (was Re: [NSBezierPath clipRect] do not do what is says!) (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: how to create status bar?
  • Next by Date: Re: how to create status bar?
  • Previous by thread: Removing fuzzy lines (was Re: [NSBezierPath clipRect] do not do what is says!)
  • Next by thread: Animated GIF (repost)
  • Index(es):
    • Date
    • Thread