12 class MathPainterInfo;
17 void mathed_char_dim(LyXFont const &, unsigned char c, Dimension & dim);
18 int mathed_char_width(LyXFont const &, unsigned char c);
19 int mathed_char_ascent(LyXFont const &, unsigned char c);
20 int mathed_char_descent(LyXFont const &, unsigned char c);
22 void mathed_draw_deco(MathPainterInfo & pi, int x, int y, int w, int h,
25 void mathed_draw_framebox(MathPainterInfo & pi, int x, int y, MathInset const *);
27 void mathed_string_dim(LyXFont const & font, string const & s, Dimension & dim);
28 int mathed_string_width(LyXFont const &, string const & s);
30 void drawStr(MathPainterInfo & pi,
31 LyXFont const &, int x, int y, string const & s);
32 void drawStrRed(MathPainterInfo & pi, int x, int y, string const & s);
33 void drawStrBlack(MathPainterInfo & pi, int x, int y, string const & s);
34 void drawChar(MathPainterInfo & pi, LyXFont const & font, int x, int y, char c);
36 void math_font_max_dim(LyXFont const &, int & asc, int & desc);
38 void augmentFont(LyXFont & f, string const & cmd);
40 bool isFontName(string const & name);