int MTextCharX (const char *text, MTFont font, int x)

Returns the x position (in pixels) of the character at a given position in a string array

Documentation

Returns the x position (in pixels) of the character at a given position in a string array. This function actually converts the position of a character in a string from array index 'i' to x position in pixels using the font 'font'.

See Also:
MTextWidth, MTextNWidth, MTextHeight

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++