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