Re: Not assuming 1 point = 1 pixel
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.