View Full Version : Finding Length
03-27-2001, 04: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, 07: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, 07: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.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.