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: Douglas Davidson <email@hidden>
- Date: Mon, 7 Jul 2003 10:18:57 -0700
On Monday, July 7, 2003, at 10:05 AM, email@hidden wrote:
Unfortunately it's not that simple. I am porting code from my
framework over to OSX. So the internal calls that draw the text don't
*know* about the View. I need to implement the same stratagey that is
accomplished by "flipping" the view, but have so far come up empty
handed. It seems to me that drawing wrapped text bounded by a
rectangle should *not* be this difficult. I spent all last night
looking around via google for examples on how to do this but wasn't
able to find much of anything. Obviously I am missing something or
doing something wrong/stupid, I just don't Cocoa well enough to
fiugure out what it is :(
Use NSString's drawInRect:withAttributes: or NSAttributedString's
drawInRect:, then.
Douglas Davidson
_______________________________________________
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.