mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 07:57:22 +00:00
1f9e9cf517
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7574 a592a061-630c-0410-9148-cb99ea01b6c8
41 lines
720 B
C
41 lines
720 B
C
/**
|
|
* \file math_diminset.C
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author André Pönitz
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#include "math_diminset.h"
|
|
#include "Lsstream.h"
|
|
#include "textpainter.h"
|
|
|
|
|
|
void MathDimInset::metricsT(TextMetricsInfo const &) const
|
|
{
|
|
#ifndef WITH_WARNINGS
|
|
#warning temporarily disabled
|
|
#endif
|
|
/*
|
|
std::ostringstream os;
|
|
os << MathAtom(this);
|
|
dim_.wid = int(os.str().size());
|
|
dim_.asc = 1;
|
|
dim_.des = 0;
|
|
*/
|
|
}
|
|
|
|
|
|
void MathDimInset::drawT(TextPainter &, int, int) const
|
|
{
|
|
/*
|
|
std::ostringstream os;
|
|
os << MathAtom(this);
|
|
pain.draw(x, y, STRCONV(os.str()));
|
|
*/
|
|
}
|