DrawText over more than one line

BlitzMax Forums/BlitzMax Beginners Area/DrawText over more than one line

taumel(Posted 2005) [#1]
Hello,

is it possible to use DrawText over more than one line? Any RETURN-Character?

Or can i group several objects beside of building my own object and handle it internally?


Greetings,

taumel


FlameDuck(Posted 2005) [#2]
is it possible to use DrawText over more than one line?
Not as far as I'm aware.
Any RETURN-Character?
Yes - unfortunately it doesn't work with DrawText.
Or can i group several objects beside of building my own object and handle it internally?
It's possible, yes.


Perturbatio(Posted 2005) [#3]
I'm sure you could create a DrawTextEx function and use TextWidth to do the wrapping.


fredborg(Posted 2005) [#4]
Hi,

I did this some time ago, feel free to use it. (It may not work with scaling and rotating).



taumel(Posted 2005) [#5]
It's possible, yes.


Well, how does it work?


Hmmm or could i just use DrawText like a RenderToTexture?


Greetings,

taumel


taumel(Posted 2005) [#6]
Hi fredborg,

thank you! I will try this out.


Greetings,

taumel