11 class MathMatrixInset;
13 extern char const * math_font_name[];
14 extern char const * latex_mathspace[];
16 int mathed_char_height(MathTextCodes type, MathStyles size, unsigned char c,
17 int & asc, int & des);
18 int mathed_char_width(MathTextCodes type, MathStyles size, unsigned char c);
19 void mathed_char_dim(MathTextCodes type, MathStyles size, unsigned char c,
20 int & asc, int & des, int & wid);
22 void mathed_draw_deco(Painter & pain, int x, int y, int w, int h, int code);
24 void mathed_string_dim(MathTextCodes type, MathStyles size, string const & s,
25 int & asc, int & des, int & wid);
26 int mathed_string_height(MathTextCodes type, MathStyles size, string const & s,
27 int & asc, int & des);
28 int mathed_string_width(MathTextCodes type, MathStyles size, string const & s);
30 bool MathIsInset(MathTextCodes x);
31 bool MathIsAlphaFont(MathTextCodes x);
32 bool MathIsBOPS(MathTextCodes x);
33 bool MathIsSymbol(MathTextCodes x);
34 bool MathIsRelOp(unsigned char c, MathTextCodes f);
36 void drawStr(Painter & pain, MathTextCodes type, MathStyles siz,
37 int x, int y, string const & s);
38 void drawChar(Painter & pain, MathTextCodes type, MathStyles siz,
39 int x, int y, char c);
41 void math_font_max_dim
42 (MathTextCodes code, MathStyles siz, int & asc, int & desc);