2002-02-01 10:33:06 +00:00
|
|
|
|
// -*- C++ -*-
|
2002-09-11 08:26:02 +00:00
|
|
|
|
|
|
|
|
|
/** Underset objects
|
|
|
|
|
* \author Andr<EFBFBD> P<EFBFBD>nitz
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS
|
|
|
|
|
*/
|
|
|
|
|
|
2002-02-01 10:33:06 +00:00
|
|
|
|
#ifndef MATH_UNDERSETINSET_H
|
|
|
|
|
#define MATH_UNDERSETINSET_H
|
|
|
|
|
|
|
|
|
|
|
2002-09-11 08:26:02 +00:00
|
|
|
|
#include "math_fracbase.h"
|
|
|
|
|
|
|
|
|
|
/// Inset for underset
|
2002-02-01 10:33:06 +00:00
|
|
|
|
class MathUndersetInset : public MathFracbaseInset {
|
|
|
|
|
public:
|
|
|
|
|
///
|
|
|
|
|
MathUndersetInset();
|
|
|
|
|
///
|
2003-07-25 17:11:25 +00:00
|
|
|
|
virtual std::auto_ptr<InsetBase> clone() const;
|
2002-02-01 10:33:06 +00:00
|
|
|
|
///
|
2003-06-02 10:03:27 +00:00
|
|
|
|
void metrics(MetricsInfo & mi, Dimension & dim) const;
|
2002-02-01 10:33:06 +00:00
|
|
|
|
///
|
2003-05-28 13:22:36 +00:00
|
|
|
|
void draw(PainterInfo & pi, int x, int y) const;
|
2002-02-01 10:33:06 +00:00
|
|
|
|
|
|
|
|
|
///
|
|
|
|
|
void write(WriteStream & os) const;
|
|
|
|
|
///
|
|
|
|
|
void normalize(NormalStream &) const;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|