• 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:23:09 -0800

Ah, okay. Yeah, that makes more sense. Thanks.


On Jan 25, 2006, at 1:20 PM, Andy Armstrong wrote:

On 25 Jan 2006, at 21:05, Eamon Ford wrote:
Thanks! That made it work.

If you're doing a lot of bezier drawing it's worth having a deeper understanding of the problem:


By convention computer graphics coordinate systems are arranged so that the coordinate 37, 68 refers to the pixel 37 in from the left and 68 up from the bottom (or down from the top) of the coordinate system. OS X is more mathmatically correct: 37, 68 refers to the point at the lower left corner of that pixel. That means that when you draw at integral coordinates you are drawing through through the corners of pixels - and pixels around that pixel corner will be affected.

Does that make sense?

--
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
References: 
 >One pixel wide bezier path (From: Eamon Ford <email@hidden>)
 >Re: One pixel wide bezier path (From: Andy Armstrong <email@hidden>)
 >Re: 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: One pixel wide bezier path
  • Next by Date: Newbe trying to display images in a while loop
  • Previous by thread: Re: One pixel wide bezier path
  • Next by thread: Re: One pixel wide bezier path
  • Index(es):
    • Date
    • Thread