11 class MathMatrixInset;
13 extern char const * math_font_name[];
14 extern char const * latex_mathspace[];
16 int mathed_char_height(short type, int size, unsigned char c,
17 int & asc, int & des);
18 int mathed_char_width(short type, int size, unsigned char c);
19 void mathed_char_dim(short type, int 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 LyXFont mathed_get_font(short type, int size);
26 void mathed_string_dim(short type, int size, string const & s,
27 int & asc, int & des, int & wid);
28 int mathed_string_height(short type, int size, string const & s,
29 int & asc, int & des);
30 int mathed_string_width(short type, int size, string const & s);
32 bool MathIsInset(short x);
33 bool MathIsAlphaFont(short x);
34 bool MathIsBOPS(short x);
35 bool MathIsSymbol(short x);
36 bool MathIsRelOp(unsigned char c, MathTextCodes f);
38 void drawStr(Painter & pain, short type, int siz,
39 int x, int y, string const & s);
40 void drawChar(Painter & pain, short type, int siz,
41 int x, int y, char c);