2001-08-07 04:49:50 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
#ifndef MATH_FUNCLIMINSET_H
|
|
|
|
#define MATH_FUNCLIMINSET_H
|
|
|
|
|
|
|
|
#include "math_diminset.h"
|
|
|
|
|
|
|
|
// "normal" symbols that don't take limits and don't grow in displayed
|
|
|
|
// formulae
|
|
|
|
|
|
|
|
class MathFuncLimInset : public MathDimInset {
|
|
|
|
public:
|
|
|
|
///
|
2001-11-07 13:15:59 +00:00
|
|
|
explicit MathFuncLimInset(string const & name);
|
2001-08-07 04:49:50 +00:00
|
|
|
///
|
|
|
|
MathInset * clone() const;
|
|
|
|
///
|
2001-11-09 08:35:57 +00:00
|
|
|
void write(WriteStream & os) const;
|
2001-08-07 04:49:50 +00:00
|
|
|
///
|
2001-11-09 08:35:57 +00:00
|
|
|
void normalize(NormalStream &) const;
|
2001-08-07 04:49:50 +00:00
|
|
|
///
|
2001-10-19 11:25:48 +00:00
|
|
|
void metrics(MathMetricsInfo const & st) const;
|
2001-08-07 04:49:50 +00:00
|
|
|
///
|
|
|
|
void draw(Painter &, int x, int y) const;
|
|
|
|
///
|
2001-09-11 10:58:17 +00:00
|
|
|
bool isScriptable() const;
|
2001-08-07 04:49:50 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
///
|
2001-11-07 13:15:59 +00:00
|
|
|
string const name_;
|
2001-10-22 15:37:49 +00:00
|
|
|
///
|
|
|
|
mutable MathMetricsInfo mi_;
|
2001-08-07 04:49:50 +00:00
|
|
|
};
|
|
|
|
#endif
|