void PMSc10Thanks::drawLeftAlignString(ofTrueTypeFont &font, string s, int x, int y) { int halfStringHeight = font.stringHeight(s) / 2; font.drawString(s, x, y + halfStringHeight); }
void PMSc10Thanks::drawRightAlignString(ofTrueTypeFont &font, string s, int x, int y) { int halfStringHeight = font.stringHeight(s) / 2; int stringWidth = font.stringWidth(s); font.drawString(s, x - stringWidth, y + halfStringHeight); }