Determining the width of text drawn with CMD_TEXT
Posted: Sun Apr 06, 2025 4:07 am
Good morning!
I wonder if there is any way to find actual text string width in pixels when it is drawn with CMD_TEXT and ROM font?
I want to draw color highlighted multiline text on my screen, so I need to know where to start next portion of text after some text is drawn.
I wonder if there is any way to find actual text string width in pixels when it is drawn with CMD_TEXT and ROM font?
I want to draw color highlighted multiline text on my screen, so I need to know where to start next portion of text after some text is drawn.