• 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: Ken Tabb <email@hidden>
  • Date: Thu, 8 Jul 2004 17:27:21 +0100

Thanks for that Shawn, I was as you suspected eluding to certain info at WWDC which I didn't want to break the NDA about on this list. It's good to hear it doesn't overwrite /Developer/Documentation on Panther systems - that's why I hadn't downloaded it as I still need to *use* Panther (although I'm happy reading about Tiger until such time as I can install it). Glad it's addresses in the seed release notes

As an OT to any Apple bods listening: would it make sense to have the existence of "seed Cocoa", "seed Carbon" etc. lists for discussion of this... membership could be via checkboxes in your ADC account (which knows if you own the seed / went to WWDC or not), validating that only authorised people hear the seed discussions? Otherwise there's no official way of asking anything (without being kneecapped at least) and we have to resort to using code (no pun intended) in our messages. Just a thought.

Thanks again Shawn for the pointer (again no pun intended, I can't stop myself),
Ken

On 8 Jul 2004, at 4:52 pm, Shawn Erickson wrote:


On Jul 8, 2004, at 8:19 AM, Andreas Mayer wrote:

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.

If you have a seed key I suggest logging into ADC and downloading the Tiger documentation package (look under Resource LIbrary). Then open <file:///Volumes/Tiger_Documentation/referencelibrary/GraphicsImaging/ index.html>, select release notes from the "Display" types popup, and review the last release note, the one related to Quartz.

____ I suggest ALL application developers review this release note and take it to heart. ____

Remember Tiger is under NDA and cannot be discussed on any public mailing list, etc.

-Shawn



- - - - - - - - - -
Dr. Ken Tabb
Mac & UNIX Technical bloke (C, C++, Obj-C, Java) - Health & Human Sciences
Machine Vision & Neural Network researcher bloke - Computer Science Dept
University of Hertfordshire, UK
http://www.health.herts.ac.uk/ken/

Certified non-Microsoft Solution Provider
_______________________________________________
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.


References: 
 >Not assuming 1 point = 1 pixel (From: Ken Tabb <email@hidden>)
 >Re: Not assuming 1 point = 1 pixel (From: Andreas Mayer <email@hidden>)
 >Re: Not assuming 1 point = 1 pixel (From: Shawn Erickson <email@hidden>)

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