2 #ifndef MATH_CHEATINSET_H
3 #define MATH_CHEATINSET_H
5 #include "math_inset.h"
8 #include "math_nestinset.h"
11 /// The \kern primitive
12 /// Some hack for visual effects
14 class MathKernInset : public MathInset {
19 explicit MathKernInset(LyXLength const & wid);
21 explicit MathKernInset(string const & wid);
23 MathInset * clone() const;
25 void metrics(MetricsInfo & mi, Dimension & dim) const;
27 void draw(PainterInfo & pi, int x, int y) const;
29 void write(WriteStream & os) const;
31 void normalize(NormalStream & ns) const;