Re: CGImageRef printing issue
Re: CGImageRef printing issue
- Subject: Re: CGImageRef printing issue
- From: Kyle Sluder <email@hidden>
- Date: Thu, 12 Nov 2009 14:52:58 -0800
On Thu, Nov 12, 2009 at 2:26 PM, Mirko Viviani <email@hidden> wrote:
> Do you mean that there is no way to print an image using a grid of 300 PPI with Cocoa/Quartz?
> If not, why? Alternatives?
Resolution independence. Your physical screen may have 96 pixels per
inch, but the system exposes it as 72 points per inch. In the case of
printing, it actually gets this right and maps these virtual points to
physical, real-world 1/72 of an inch. In the case of onscreen
graphics, the system currently does not do the points -> pixels
mapping such that 1 point = 1/72 inch. You can turn that on with
Quartz Debug, though, and then everything behaves as if you were
printing.
--Kyle Sluder
_______________________________________________
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