• 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: One pixel wide bezier path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One pixel wide bezier path


  • Subject: Re: One pixel wide bezier path
  • From: Eamon Ford <email@hidden>
  • Date: Wed, 25 Jan 2006 13:05:15 -0800

Thanks! That made it work.


On Jan 25, 2006, at 12:51 PM, Andy Armstrong wrote:

On 25 Jan 2006, at 20:44, Eamon Ford wrote:
I can't make a 1 pixel wide bezier path; the only time I can get it to be 1 pixel wide is if I use a certain degree of transparency. Otherwise, the minimum is two pixels. What would be a workaround for this?

You're using integer coordinates, right? Add 0.5 to the X and Y coordinates of each of the points. Lines at integral coordinates are considered to straddle two pixels.


--
Andy Armstrong, hexten.net


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: One pixel wide bezier path
      • From: Andy Armstrong <email@hidden>
References: 
 >One pixel wide bezier path (From: Eamon Ford <email@hidden>)
 >Re: One pixel wide bezier path (From: Andy Armstrong <email@hidden>)

  • Prev by Date: Re: How to Create A TableView with Two Table Headers
  • Next by Date: Re: One pixel wide bezier path
  • Previous by thread: Re: One pixel wide bezier path
  • Next by thread: Re: One pixel wide bezier path
  • Index(es):
    • Date
    • Thread