no API to get text width
I am in need of a method to get the text width of a string in the current font and size, before I call DraxText(), in order to position the piece of text precisely. I'm working on a graphing subsystem and am labeling things with short texts. I have looked at the sources and i see there is a computeStringWidth() that is called in Text.Text(). I'll try to use Text.X() and see if i can somehow use that to get the width of my labels. I am unsure how one would proceed to layout text using the current functionality. How can one for instance space words so that they fit nicely in a column?