I have a problem. I am designing my own menu classes and so on.
I have now a string in a textfield. And i want to draw this text in a filled rectangle. How do I get the size of the rectangle exactly around the text.
For example is the "M" bigger than the "I", so there isnt a perfect formula.
Is it possible to recognize colors in the display, to recognize the text, or maybe to display the text shaped to the height and width of the rectangle? Of course I would prefer the first method, because then I could use my own fontsize, like I want it.
Pleeease help me (
Greetings from Germany
Does al_get_text_width do what you want?
Yeaah thank you so much!!