How can I use ‘gmfCellIncX’ in delphi? I need to get the center of the text
I am displaying.
I found the C++ code but I can’t translate it in to Delphi.
GLYPHMETRICSFLOAT gmf[256]; this is in C++ but how to do it in DELPHI???
I tried to do it in delphi as gmf: array[0…255] of GLYPHMETRICSFLOAT; but
I get an error during compilation :
Incompatible types: ‘Array’ and ‘PGlyphMetricsFloat’;
wglUseFontOutlines( h_DC, 0, 255,
base,
0.0, 0.2,
WGL_FONT_POLYGONS,
gmf); <–Incompatible types: ‘Array’ and ‘PGlyphM
etricsFloat’;
Please Help me!!!
Thank you for your time
[This message has been edited by spokojnie (edited 01-29-2002).]
[This message has been edited by spokojnie (edited 01-29-2002).]