Drawing scaled lines
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