#ifndef DIMENSION_H
#define DIMENSION_H
-
namespace lyx {
-class LyXFont;
-
/// Simple wrapper around three ints
class Dimension {
public:
void operator+=(Dimension const & dim);
/// set to empty box
void clear() { wid = asc = des = 0; }
- /// set to empty box suitble for given font
- void clear(LyXFont const & font);
/// get height
int height() const { return asc + des; }
/// get ascent