2 #ifndef MATH_CHEATINSET_H
3 #define MATH_CHEATINSET_H
5 #include "math_diminset.h"
8 #include "math_nestinset.h"
14 /// The \kern primitive
15 /// Some hack for visual effects
17 class MathKernInset : public MathDimInset {
22 explicit MathKernInset(LyXLength const & wid);
24 explicit MathKernInset(string const & wid);
26 MathInset * clone() const;
28 void draw(MathPainterInfo &, int x, int y) const;
30 void write(WriteStream & os) const;
32 void normalize(NormalStream & ns) const;
34 void metrics(MathMetricsInfo & st) const;