lyx_mirror/src/mathed/math_fracinset.h

31 lines
530 B
C
Raw Normal View History

// -*- C++ -*-
#ifndef MATH_FRACINSET_H
#define MATH_FRACINSET_H
#include "math_fracbase.h"
#ifdef __GNUG__
#pragma interface
#endif
/** Fraction like objects (frac, binom)
\author Alejandro Aguilar Sierra
*/
class MathFracInset : public MathFracbaseInset {
public:
///
MathFracInset();
///
MathInset * clone() const;
///
void write(std::ostream &, bool fragile) const;
///
void writeNormal(std::ostream &) const;
///
void metrics(MathStyles st) const;
///
void draw(Painter &, int x, int y) const;
};
#endif