  | |  | Drawing wrapped text | Drawing wrapped text 2003-12-17 - By Vern Jensen
Back In my game, there will be a tutorial level where players can wander around and read signs. I want to store the text for the signs in a single string, and then call some function to draw this in a GrafPort. I want to tell it to stay inside a certain rectangle, wrapping the text as necessary.
Does something like this already exist, or do I have to roll my own function that breaks the string up, calling DrawString individually on each piece?
-Vern __ ____ ____ ____ ____ ____ ____ ____ ____ ____ mac-games-dev mailing list | mac-games-dev@(protected) Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac -games-dev Do not post admin requests to the list. They will be ignored.
Earn $52 per hosting referral at Lunarpages.
|
|
 |