Does anyone know if it is possible to auto center the text of a dynamically changing string? What I have happening is there is a set of strings stored in a vector and each one is a different size. What I want to do is somehow have them centered in the screen when they change. Right now my code is this:
bebas2.drawString(titles[titleCount], ofGetWidth()/2, 300);
There are some that look fine with that, however since it is using ofGetWidth() it of course places it at the half point of the screen.