Re: Drawing scaled lines
Re: Drawing scaled lines
- Subject: Re: Drawing scaled lines
- From: Tommy Nordgren <email@hidden>
- Date: Fri, 7 Jan 2005 21:15:48 +0100
Jan 7, 2005 kl. 8:41 PM skrev Mark Dawson:
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
According to the Core Graphics documentation, Quarts coordinates are
DEVICE INDEPENDENT. It's only necessary to find the unit used.
Tommy Nordgren
_______________________________________________
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