11 class MathMetricsInfo;
15 void mathed_char_dim(LyXFont const &, unsigned char c,
16 int & asc, int & des, int & wid);
17 int mathed_char_width(LyXFont const &, unsigned char c);
18 int mathed_char_ascent(LyXFont const &, unsigned char c);
19 int mathed_char_descent(LyXFont const &, unsigned char c);
21 void mathed_draw_deco(MathPainterInfo & pain, int x, int y, int w, int h,
24 void mathed_draw_framebox(MathPainterInfo & pain, int x, int y, MathInset const *);
26 void mathed_string_dim(LyXFont const &,
27 string const & s, int & asc, int & des, int & wid);
29 int mathed_string_width(LyXFont const &, string const & s);
30 int mathed_string_ascent(LyXFont const &, string const & s);
31 int mathed_string_descent(LyXFont const &, string const & s);
33 void drawStr(MathPainterInfo & pain,
34 LyXFont const &, int x, int y, string const & s);
35 void drawStrRed(MathPainterInfo & pain, int x, int y, string const & s);
36 void drawStrBlack(MathPainterInfo & pain, int x, int y, string const & s);
37 void drawChar(MathPainterInfo & pain,
38 LyXFont const & font, int x, int y, char c);
40 void math_font_max_dim(LyXFont const &, int & asc, int & desc);
42 bool math_font_available(string const & name);
44 string convertDelimToLatexName(string const & name);
46 void augmentFont(LyXFont & f, string const & cmd);