2 #ifndef MATH_EXFUNCINSET_H
3 #define MATH_EXFUNCINSET_H
5 #include "math_nestinset.h"
7 // f(x) in one block (as opposed to 'f','(','x',')' or 'f','x')
8 // for interfacing external programs
10 class MathExFuncInset : public MathNestInset {
13 MathExFuncInset(string const & name, MathArray const & arg);
15 MathInset * clone() const;
17 void write(WriteStream & os) const;
19 void normalize(NormalStream &) const;
21 void metrics(MathMetricsInfo const & st) const;
23 void draw(Painter &, int x, int y) const;
25 void octavize(OctaveStream &) const;
31 mutable MathMetricsInfo mi_;