• 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: Not assuming 1 point = 1 pixel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not assuming 1 point = 1 pixel


  • Subject: Re: Not assuming 1 point = 1 pixel
  • From: Andreas Mayer <email@hidden>
  • Date: Thu, 8 Jul 2004 17:19:18 +0200

Am 08.07.2004 um 16:21 Uhr schrieb Ken Tabb:

does anyone have any general advice for Cocoa (/ Quartz 2D) drawing algorithms that don't assume 1 point = 1 pixel?

They don't. 1 point is just the default line width and Mac OS X at this time happens to map one point to one pixel. But Quartz is in no way dependant on that assumption.

but still want the outlines of my drawn objects crispy clean.

If you want to draw lines that are exactly one pixel wide, you would need to know the device's resolution. No idea how to do that.


Andreas
_______________________________________________
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.


  • Follow-Ups:
    • Re: Not assuming 1 point = 1 pixel
      • From: Shawn Erickson <email@hidden>
References: 
 >Not assuming 1 point = 1 pixel (From: Ken Tabb <email@hidden>)

  • Prev by Date: Re: List subject line
  • Next by Date: Re: List subject line
  • Previous by thread: Not assuming 1 point = 1 pixel
  • Next by thread: Re: Not assuming 1 point = 1 pixel
  • Index(es):
    • Date
    • Thread