mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
27 lines
352 B
C
27 lines
352 B
C
|
// -*- C++ -*-
|
||
|
#ifndef MATH_DIMINSET_H
|
||
|
#define MATH_DIMINSET_H
|
||
|
|
||
|
#include "math_inset.h"
|
||
|
|
||
|
/// thing that need the dimension cache
|
||
|
class MathDimInset : public MathInset {
|
||
|
public:
|
||
|
MathDimInset();
|
||
|
///
|
||
|
int ascent() const;
|
||
|
///
|
||
|
int descent() const;
|
||
|
///
|
||
|
int width() const;
|
||
|
|
||
|
protected:
|
||
|
///
|
||
|
int width_;
|
||
|
///
|
||
|
int ascent_;
|
||
|
///
|
||
|
int descent_;
|
||
|
};
|
||
|
#endif
|