9 #define byte unsigned char
14 struct math_deco_struct {
20 extern char const * math_font_name[];
21 extern char const * latex_mathspace[];
23 extern int mathed_char_height(short type, int size, byte c,
24 int & asc, int & des);
25 extern int mathed_char_width(short type, int size, byte c);
26 extern void mathed_draw_deco(Painter & pain, int x, int y,
27 int w, int h, int code);
29 extern LyXFont mathed_get_font(short type, int size);
30 extern int mathed_string_height(short type, int size, string const & s,
31 int & asc, int & des);
32 extern int mathed_string_width(short type, int size, string const & s);
33 extern math_deco_struct const * search_deco(int code);