• 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: Andy Armstrong <email@hidden>
  • Date: Wed, 25 Jan 2006 20:51:10 +0000

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: Eamon Ford <email@hidden>
References: 
 >One pixel wide bezier path (From: Eamon Ford <email@hidden>)

  • Prev by Date: Installed CHUD_4.3.1, still no headers?
  • Next by Date: Re: How to Create A TableView with Two Table Headers
  • Previous by thread: One pixel wide bezier path
  • Next by thread: Re: One pixel wide bezier path
  • Index(es):
    • Date
    • Thread