[PyOpenGL-Users] Bounding box of bitmep text
Brought to you by:
mcfletch
From: Prashant S. <ani...@ya...> - 2008-04-16 18:41:13
|
def drawText(x,y,text): glRasterPos3f(x,y,0.8) for i in text: glutBitmapCharacter(GLUT_BITMAP_HELVETICA_12, ord(i)) when creating a text using above function how do I determine the bounding box of the text drawn or the length taken by the text? ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |