Anyone know how I might go about centering the left position of text on the surface screen when drawing? (This is just for introduction text for testing atm).

The window is fixed to 350x350, I can easily find the middle, but i'd need to do something fancy to fit the text's length into that?