- Online Community Forums » Programming Questions » (AL5) Drawing rotated text?

This thread is locked; no one can reply to it. rss feed Print
(AL5) Drawing rotated text?
Member #11,410
October 2009

I was wondering if AL5 had a way to draw rotated TTF text since I think the glyphs are cached to a bitmap. I know that it can be rendered to a transparent bitmap then rotated but I was wondering if maybe there was a simpler solution? Maybe AL5.1 could have al_draw_rotated_text which would work similarly to bitmap rotation?


Thomas Fjellstrom
Member #476
June 2000

You have two options I think, draw to another bitmap and rotate that, or use the Transformations api.

Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" --

Go to: