11 class MathMetricsInfo;
16 void mathed_char_dim(LyXFont const &, unsigned char c, Dimension & dim);
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 & font, string const & s, Dimension & dim);
27 int mathed_string_width(LyXFont const &, string const & s);
28 int mathed_string_ascent(LyXFont const &, string const & s);
29 int mathed_string_descent(LyXFont const &, string const & s);
31 void drawStr(MathPainterInfo & pain,
32 LyXFont const &, int x, int y, string const & s);
33 void drawStrRed(MathPainterInfo & pain, int x, int y, string const & s);
34 void drawStrBlack(MathPainterInfo & pain, int x, int y, string const & s);
35 void drawChar(MathPainterInfo & pain,
36 LyXFont const & font, int x, int y, char c);
38 void math_font_max_dim(LyXFont const &, int & asc, int & desc);
40 void augmentFont(LyXFont & f, string const & cmd);
42 bool isFontName(string const & name);