Jan
03-02-2003, 03:31 AM
I want to animate my outline fonts (rotate them). To make it look good i have to rotate them around their center.
My problem is, that i cannot find out the height of the characters. I can get the length of a text through the GLYPHMETRICSFLOAT struct, which wglUseFontOutlines fills with data.
The "gmfCellIncX" variable holds the width of each character, but "gmfCellIncY" is always zero instead of giving the height.
So, can anyone tell me how to get the height?
Thanks,
Jan.
My problem is, that i cannot find out the height of the characters. I can get the length of a text through the GLYPHMETRICSFLOAT struct, which wglUseFontOutlines fills with data.
The "gmfCellIncX" variable holds the width of each character, but "gmfCellIncY" is always zero instead of giving the height.
So, can anyone tell me how to get the height?
Thanks,
Jan.