2002-08-29 09:57:57 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
#ifndef MATH_FRAMEBOXINSET_H
|
|
|
|
|
#define MATH_FRAMEBOXINSET_H
|
|
|
|
|
|
|
|
|
|
#include "math_nestinset.h"
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
|
#pragma interface
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/** Extra nesting
|
2002-09-11 08:26:02 +00:00
|
|
|
|
* \author Andr<EFBFBD> P<EFBFBD>nitz
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS
|
2002-08-29 09:57:57 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
class MathFrameboxInset : public MathNestInset {
|
|
|
|
|
public:
|
|
|
|
|
///
|
|
|
|
|
MathFrameboxInset();
|
|
|
|
|
///
|
|
|
|
|
MathInset * clone() const;
|
|
|
|
|
///
|
|
|
|
|
void metrics(MathMetricsInfo & mi) const;
|
|
|
|
|
///
|
|
|
|
|
void draw(MathPainterInfo & pi, int x, int y) const;
|
|
|
|
|
///
|
|
|
|
|
void write(WriteStream & os) const;
|
|
|
|
|
/// write normalized content
|
|
|
|
|
void normalize(NormalStream & ns) const;
|
|
|
|
|
private:
|
|
|
|
|
/// width of '[' in current font
|
|
|
|
|
mutable int w_;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|