2 #ifndef MATH_FUNCINSET_H
3 #define MATH_FUNCINSET_H
5 #include "math_diminset.h"
12 Functions or LaTeX names for objects that I don't know how to draw.
14 class MathFuncInset : public MathDimInset {
17 explicit MathFuncInset(string const & nm);
19 MathInset * clone() const;
21 void metrics(MathMetricsInfo & st) const;
23 void draw(Painter &, int x, int y) const;
25 string const & name() const;
26 /// identifies FuncInsets
27 MathFuncInset * asFuncInset() { return this; }
29 void setName(string const &);
31 bool match(MathInset * p) const;
34 void normalize(NormalStream &) const;
36 void maplize(MapleStream &) const;
38 void mathmlize(MathMLStream &) const;
40 void octavize(OctaveStream &) const;
42 void write(WriteStream &) const;
47 mutable LyXFont font_;