]> git.lyx.org Git - lyx.git/blob - src/mathed/math_support.h
remove unneede functions
[lyx.git] / src / mathed / math_support.h
1 // -*- C++ -*-
2
3 #ifndef MATH_SUPPORT_H
4 #define MATH_SUPPORT_H
5
6 #include "LString.h"
7
8 class MathPainterInfo;
9 class MathInset;
10 class LyXFont;
11 class Dimension;
12
13 void mathed_char_dim(LyXFont const &, unsigned char c, Dimension & dim);
14 int mathed_char_width(LyXFont const &, unsigned char c);
15 int mathed_char_ascent(LyXFont const &, unsigned char c);
16 int mathed_char_descent(LyXFont const &, unsigned char c);
17
18 void mathed_draw_deco(MathPainterInfo & pi, int x, int y, int w, int h,
19         string const & name);
20
21 void mathed_draw_framebox(MathPainterInfo & pi, int x, int y, MathInset const *);
22
23 void mathed_string_dim(LyXFont const & font, string const & s, Dimension & dim);
24 int mathed_string_width(LyXFont const &, string const & s);
25
26 void drawStr(MathPainterInfo & pi,
27         LyXFont const &, int x, int y, string const & s);
28 void drawStrRed(MathPainterInfo & pi, int x, int y, string const & s);
29 void drawStrBlack(MathPainterInfo & pi, int x, int y, string const & s);
30 void drawChar(MathPainterInfo & pi, LyXFont const & font, int x, int y, char c);
31
32 void math_font_max_dim(LyXFont const &, int & asc, int & desc);
33
34 void augmentFont(LyXFont & f, string const & cmd);
35
36 bool isFontName(string const & name);
37
38 #endif