lyx_mirror/src/mathed/math_parinset.C
André Pönitz 285952e130 IU of drawing phase one without 'semantic changes' as requested by John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7079 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 10:03:27 +00:00

41 lines
697 B
C

#include <config.h>
#include "math_parinset.h"
#include "math_mathmlstream.h"
#include "support/LOstream.h"
MathParInset::MathParInset(MathArray const & ar)
{
cells_[0] = ar;
}
void MathParInset::metrics(MetricsInfo & mi, Dimension & dim) const
{
FontSetChanger dummy1(mi.base, "textnormal");
MathGridInset::metrics(mi);
dim = dim_;
}
void MathParInset::draw(PainterInfo & pi, int x, int y) const
{
FontSetChanger dummy1(pi.base, "textnormal");
MathGridInset::draw(pi, x, y);
}
void MathParInset::write(WriteStream & os) const
{
for (idx_type i = 0; i < nargs(); ++i)
os << cell(i) << "\n";
}
void MathParInset::infoize(std::ostream & os) const
{
os << "Type: Paragraph ";
}