font->draw : go to the line

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
goutbouyo
Posts: 47
Joined: Thu Mar 24, 2005 6:55 pm

font->draw : go to the line

Post by goutbouyo »

Hi, is it possible to go to the line when drawing text with :
font->draw()

Because my string contains "\n" and instead of this there is a quad.
IPv6
Posts: 188
Joined: Tue Aug 08, 2006 11:58 am

Post by IPv6 »

There is no support for multyline text, you should add this by yourseklf
It is quite easy in fact, just split string into parts and draw lines in the loop
Post Reply