lyx_mirror/src/mathed/math_inferinset.C
André Pönitz 1829cdef6a promote MathMetricsInfo to MetricsInfo, change mathed accordingly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6555 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-21 14:20:48 +00:00

37 lines
554 B
C

#include "math_inferinset.h"
#include "math_support.h"
#include "frontends/Painter.h"
#include "math_mathmlstream.h"
#include "textpainter.h"
MathInferInset::MathInferInset()
: MathGridInset(1, 1)
{}
MathInset * MathInferInset::clone() const
{
return new MathInferInset(*this);
}
void MathInferInset::metrics(MetricsInfo &) const
{
}
void MathInferInset::draw(PainterInfo &, int, int) const
{
}
void MathInferInset::write(WriteStream & os) const
{
os << "\\infer";
if (opt_.size())
os << '[' << opt_ << ']';
MathGridInset::write(os);
}