• 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
Verify my Understanding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: CGContextShowTextAtPoint doesn't show text
  • Next by Date: Re: Scanning images
  • Previous by thread: Hide Quicktime logo when using MPMoviePlayerController to play audio
  • Next by thread: NSLog() without the timestamp?
  • Index(es):
    • Date
    • Thread