Verify my Understanding
Verify my Understanding
- Subject: Verify my Understanding
- From: koko <email@hidden>
- Date: Tue, 09 Aug 2011 10:11:32 -0600
I think I get it re: printing but would like some verification of my understanding.
When printing, the printing context coordinate system is measured in points (pt = 1/72 inch).
When getting paper size it is returned in points.
The printing context is device independent.
So, to print an exact size bitmap of mine I just need to convert its dimensions to points. So if my bitmap is measured in tenths of a millimeter I set its rect to be drawn in to (bitmap width * 72/254) and (bit map height * 72/254).
Yes?
-koko
_______________________________________________
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