DrawText length query...
BlitzMax Forums/BlitzMax Programming/DrawText length query...
| ||
If I have loaded a font and then used drawtext to display it on screen, is there a way to calculate the length of the text on the screen. What I mean is there a way to work out how many pixels it took up? I know I can get the number of characters using len, but len * pointsize does not equal pixel width. |
| ||
Not to worry found it.... TextWidth |