lyx_mirror/src/mathed/math_diminset.C

40 lines
550 B
C++
Raw Normal View History

/**
* \file math_diminset.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Andr<EFBFBD> P<EFBFBD>nitz
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "math_diminset.h"
int MathDimInset::ascent() const
{
return dim_.asc;
}
int MathDimInset::descent() const
{
return dim_.des;
}
int MathDimInset::width() const
{
return dim_.wid;
}
void MathDimInset::setPosCache(PainterInfo const &, int x, int y) const
{
xo_ = x;
yo_ = y;
}