Fill box with repeating text
Fill box with repeating text
- Subject: Fill box with repeating text
- From: Trygve Inda <email@hidden>
- Date: Fri, 24 Apr 2009 23:34:10 +0000
- Thread-topic: Fill box with repeating text
I have a rect in a graphics context that I wish to fill with repeating text
"Some Text" so that the text repeats enough times to completely fill the
rect at the given line spacing, font style etc.
How can I determine how much text I need? Is there a better way to build
this than just stringByAppendingString a bunch of times?
Thanks,
Trygve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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