• 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
Subject: WYSIWIG drawing vs printing (was drawing scaled lines)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subject: WYSIWIG drawing vs printing (was drawing scaled lines)


  • Subject: Subject: WYSIWIG drawing vs printing (was drawing scaled lines)
  • From: "Erik M. Buck" <email@hidden>
  • Date: Fri, 7 Jan 2005 18:31:26 -0500

I am shocked that it has not been stated already or I missed it.

Quartz 2D is DEVICE INDEPENDENT!

Pixels are irrelevant.
DPI of the output device is irrelevant.

Only "real world" distance units like inches, centimeters, miles, yards,
light-years, and Postscript Points are relevant.

In an unscaled Quartz 2D coordinate system a distance of 1.0 is one
Postscript Point which is defined a 1/72 Inch.
To draw a one inch long line on any output device including a 300 DPI
printer or a 2000 DPI printer or a 100 DPI screen, draw a line that is 72
units long in an unscaled Quartz 2D coordinate system.

Because printers are calibrated, the printed line will be one inch long as
measured with a standard ruler.
Because computer displays are NOT calibrated and in fact CRTs can vary with
temperature and time, the 1 inch line drawn will not be one inch long as
measured with a standard ruler, but it will be one inch long as measured by
a ruler that is also drawn by Quartz in an unscaled coordinate system.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Subject: WYSIWIG drawing vs printing (was drawing scaled lines)
      • From: John Stiles <email@hidden>
  • Prev by Date: MailAccounts in my prefs file
  • Next by Date: Re: Subject: WYSIWIG drawing vs printing (was drawing scaled lines)
  • Previous by thread: MailAccounts in my prefs file
  • Next by thread: Re: Subject: WYSIWIG drawing vs printing (was drawing scaled lines)
  • Index(es):
    • Date
    • Thread