View Full Version : Finding Length
03-27-2001, 05:58 AM
I am displaying text using wglUseFontOutlines() function.
For example the string is "OpenGL". How I can find the center position(x,y) of the string.
03-27-2001, 08:53 AM
NeHe.gamedev.net 's tutorials on fonts (the latter ones anyway) have a function that will find the length of the string and automatialy centre it.
03-27-2001, 08:07 PM
In Nehe tutorial 14 (fonts), they are using prespective projecttion. When i am changing from perspective to glOrtho, the text disappears.I dont know what happens,
please explain me.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.