• 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 width. One.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One pixel width. One.


  • Subject: Re: One pixel width. One.
  • From: "Joe Goh" <email@hidden>
  • Date: Fri, 25 Apr 2008 17:31:17 +0800

On 4/25/08, Lorenzo <email@hidden> wrote:
>  I am trying to draw a line with 1 pixel width. No matter whether the view is
>  scaled or scrolled, I want to see a 1 pixel thick line.

I highly, highly recommend reading this article:
http://wincent.com/a/about/wincent/weblog/archives/2007/01/offbyone.php

I wanted to do the exact same thing in my app last year and this
article saved the day for me.

HTH,
Joe Goh
FunkeeMonk Technology
http://www.funkeemonk.com/
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: One pixel width. One.
      • From: Lorenzo <email@hidden>
  • Prev by Date: Re: QTMovie grabing while playback
  • Next by Date: Re: Cocoa-dev Digest, Vol 5, Issue 670
  • Previous by thread: Re: One pixel width. One.
  • Next by thread: Re: One pixel width. One.
  • Index(es):
    • Date
    • Thread