• 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
Drawing scaled lines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing scaled lines


  • Subject: Drawing scaled lines
  • From: Mark Dawson <email@hidden>
  • Date: Fri, 7 Jan 2005 11:41:52 -0800

I want to draw line figures (lines, rects, etc) that are correctly scaled (i.e., 1" on screen is 1' in real life). I haven't quite figured out the question to ask to find the correct documentation…

I've found that NSSize is the basic size, which contains floats. From what I can tell, they are in "point" units. Do I just use the 72.0 points/inch constant, or is there a system call that I should use? Give than NSize uses floats, what does it mean to have 1.01 points--i.e., do fractional points show up?

Thanks,

mark
_______________________________________________
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: Drawing scaled lines
      • From: Tommy Nordgren <email@hidden>
    • Re: Drawing scaled lines
      • From: Shawn Erickson <email@hidden>
    • Re: Drawing scaled lines
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: Drawing scaled lines
      • From: John Stiles <email@hidden>
  • Prev by Date: NSTableView, binding, and tooltips
  • Next by Date: Re: Drawing scaled lines
  • Previous by thread: NSTableView, binding, and tooltips
  • Next by thread: Re: Drawing scaled lines
  • Index(es):
    • Date
    • Thread