Full Version: SDL_ttf Tutorial Request
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can anyone post a tutorial or post a link to a tutorial that explains how to print text on a SDL surface at a designated location? Thanks
The [tt]examples[/tt] folder in the distribution has a few SDL examples, including:

Hope this helps.
thanks, this does. My next goal is for the text to wrap around in a certain area. I have ideas on how to do that with FB string manipulation. Do you know if there is any slick way of doing that with SDL or FB? I'm curious if there is a hexicode or something I can insert in the string that will cause a return. If you can think of anything, let me know, thanks