Re: Setting the origin of a GC and Text
Re: Setting the origin of a GC and Text
- Subject: Re: Setting the origin of a GC and Text
- From: Jim Crafton <email@hidden>
- Date: Mon, 7 Jul 2003 00:10:48 -0400
Maybe I am *perhaps* making this more difficult than it needs to be.
All I really want is this:
given a rectangle, some text, and a mask of options (stuff like whether
to wrap the text to the rect, whether the text should be centered
vertically, centered horizontally, etc) I want to draw the text
starting at the rect's top,left corner using the current font, color,
etc.
Perhaps there is a simpler API that will do this than fighting with all
the NSLayoutManager et al.?
Thanks
Jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.