mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
1829cdef6a
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6555 a592a061-630c-0410-9148-cb99ea01b6c8
37 lines
554 B
C
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);
|
|
}
|