2 #ifndef MATH_FRACINSET_H
3 #define MATH_FRACINSET_H
5 #include "math_fracbase.h"
11 /** Fraction like objects (frac, binom)
12 \author Alejandro Aguilar Sierra
14 class MathFracInset : public MathFracbaseInset {
17 explicit MathFracInset(bool atop = false);
19 MathInset * clone() const;
21 void metrics(MathMetricsInfo & mi) const;
23 void draw(MathPainterInfo &, int x, int y) const;
25 void metricsT(TextMetricsInfo const & mi) const;
27 void drawT(TextPainter &, int x, int y) const;
29 MathFracInset * asFracInset();
34 void write(WriteStream & os) const;
36 void maplize(MapleStream &) const;
38 void mathematicize(MathematicaStream &) const;
40 void octavize(OctaveStream &) const;
42 void mathmlize(MathMLStream &) const;