Re: How to draw NSString with centered alignment?
Re: How to draw NSString with centered alignment?
- Subject: Re: How to draw NSString with centered alignment?
- From: "Joe Goh" <email@hidden>
- Date: Tue, 23 Jan 2007 14:33:58 +0800
On 1/23/07, I. Savant <email@hidden> wrote:
I *believe* AppKit requires the window server (GUI). Things like
NSFont, NSParagraphStyle and the text drawing routines are all part
of AppKit because they rely on the concept of screen coordinates,
dimensions, etc. I *may* be misstating some or all of this, mind you,
so I welcome correction on this, but I believe it to be true so there
you have it. :-)
Ahhh, I get it now. I forgot that there are command-line Cocoa
programs out there, and if those draw*: methods were placed as part of
the main NSString documentation, it would confuse the developers of
such programs.
Another day, another interesting thing learned!
Cheers!
Joe Goh
FunkeeMonk Technology
http://www.funkeemonk.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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