2 #ifndef MATH_FUNCINSET_H
3 #define MATH_FUNCINSET_H
5 #include "math_diminset.h"
13 Functions or LaTeX names for objects that I don't know how to draw.
15 class MathFuncInset : public MathDimInset {
18 explicit MathFuncInset(string const & nm);
20 MathInset * clone() const;
22 void metrics(MathMetricsInfo const & st) const;
24 void draw(Painter &, int x, int y) const;
26 string const & name() const;
27 /// identifies FuncInsets
28 MathFuncInset * asFuncInset() { return this; }
30 void setName(string const &);
32 bool match(MathInset * p) const;
35 void normalize(NormalStream &) const;
37 void maplize(MapleStream &) const;
39 void mathmlize(MathMLStream &) const;
41 void octavize(OctaveStream &) const;
43 void write(WriteStream &) const;
48 mutable LyXFont font_;