Re: Not assuming 1 point = 1 pixel
Re: Not assuming 1 point = 1 pixel
- Subject: Re: Not assuming 1 point = 1 pixel
- From: Shawn Erickson <email@hidden>
- Date: Thu, 8 Jul 2004 08:52:03 -0700
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
_______________________________________________
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.