lyx_mirror/src/mathed/math_deliminset.h

34 lines
504 B
C
Raw Normal View History

// -*- C++ -*-
#ifndef MATH_DELIMINSET_H
#define MATH_DELIMINSET_H
#include "math_inset.h"
#ifdef __GNUG__
#pragma interface
#endif
/** A delimiter
\author Alejandro Aguilar Sierra
*/
class MathDelimInset : public MathInset {
public:
///
MathDelimInset(int, int);
///
MathInset * Clone() const;
///
void draw(Painter &, int, int);
///
void Write(std::ostream &, bool fragile) const;
///
void Metrics(MathStyles st);
private:
int dw() const;
///
int left_;
///
int right_;
};
#endif