2002-09-11 09:14:57 +00:00
|
|
|
|
2002-03-19 16:55:58 +00:00
|
|
|
#include "math_diminset.h"
|
|
|
|
#include "Lsstream.h"
|
|
|
|
#include "textpainter.h"
|
|
|
|
|
|
|
|
|
2002-03-21 06:57:13 +00:00
|
|
|
void MathDimInset::metricsT(TextMetricsInfo const &) const
|
2002-03-19 16:55:58 +00:00
|
|
|
{
|
2002-08-08 17:11:30 +00:00
|
|
|
#ifndef WITH_WARNINGS
|
|
|
|
#warning temporarily disabled
|
|
|
|
#endif
|
|
|
|
/*
|
2002-03-19 16:55:58 +00:00
|
|
|
std::ostringstream os;
|
2002-08-08 17:11:30 +00:00
|
|
|
os << MathAtom(this);
|
2002-07-11 11:27:24 +00:00
|
|
|
dim_.w = int(os.str().size());
|
|
|
|
dim_.a = 1;
|
|
|
|
dim_.d = 0;
|
2002-08-08 17:11:30 +00:00
|
|
|
*/
|
2002-03-19 16:55:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2002-08-08 17:11:30 +00:00
|
|
|
void MathDimInset::drawT(TextPainter &, int, int) const
|
2002-03-19 16:55:58 +00:00
|
|
|
{
|
2002-08-08 17:11:30 +00:00
|
|
|
/*
|
2002-03-19 16:55:58 +00:00
|
|
|
std::ostringstream os;
|
2002-08-08 17:11:30 +00:00
|
|
|
os << MathAtom(this);
|
2002-11-04 02:12:42 +00:00
|
|
|
pain.draw(x, y, STRCONV(os.str()));
|
2002-08-08 17:11:30 +00:00
|
|
|
*/
|
2002-03-19 16:55:58 +00:00
|
|
|
}
|