12 extern char const * math_font_name[];
13 extern char const * latex_mathspace[];
15 int mathed_char_height(MathTextCodes type, MathStyles size, unsigned char c,
16 int & asc, int & des);
17 void mathed_char_dim(MathTextCodes type, MathStyles size, unsigned char c,
18 int & asc, int & des, int & wid);
19 int mathed_char_width(MathTextCodes type, MathStyles size, unsigned char c);
20 int mathed_char_ascent(MathTextCodes type, MathStyles size, unsigned char c);
21 int mathed_char_descent(MathTextCodes type, MathStyles size, unsigned char c);
24 (Painter & pain, int x, int y, int w, int h, latexkeys const * l);
26 void mathed_string_dim(MathTextCodes type, MathStyles size, string const & s,
27 int & asc, int & des, int & wid);
28 int mathed_string_height(MathTextCodes type, MathStyles size, string const & s,
29 int & asc, int & des);
31 int mathed_string_width(MathTextCodes type, MathStyles size, string const & s);
32 int mathed_string_ascent(MathTextCodes type, MathStyles size, string const & s);
33 int mathed_string_descent(MathTextCodes type, MathStyles size, string const & s);
35 bool MathIsAlphaFont(MathTextCodes x);
37 void drawStr(Painter & pain, MathTextCodes type, MathStyles siz,
38 int x, int y, string const & s);
39 void drawChar(Painter & pain, MathTextCodes type, MathStyles siz,
40 int x, int y, char c);
42 void math_font_max_dim
43 (MathTextCodes code, MathStyles siz, int & asc, int & desc);