3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "InsetMathDim.h"
15 #include "BufferView.h"
16 #include "coordcache.h"
18 #include "metricsinfo.h"
24 InsetMathDim::InsetMathDim()
28 int InsetMathDim::ascent() const
34 int InsetMathDim::descent() const
40 int InsetMathDim::width() const
46 void InsetMathDim::setPosCache(PainterInfo const & pi, int x, int y) const
48 //lyxerr << "InsetMathDim: cache to " << x << " " << y << std::endl;
49 pi.base.bv->coordCache().insets().add(this, x, y);