4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Matthias Ettrich
8 * \author Lars Gullik Bjønnes
10 * Full author contact details are available in file CREDITS.
12 * Metrics for an on-screen text row.
18 #include "support/types.h"
24 * An on-screen row of text. A paragraph is broken into a
25 * RowList for display. Each Row contains position pointers
26 * into the first and last character positions of that row.
39 void endpos(pos_type p);
41 pos_type endpos() const;
43 int height() const { return ascent_ + descent_; }
53 void descent(int b) { descent_ = b; }
55 int descent() const { return descent_; }
56 /// current debugging only
57 void dump(const char * = "") const;
60 /// first pos covered by this row
62 /// one behind last pos covered by this row
76 /// width of a separator (i.e. space)
78 /// width of hfills in the body
80 /// width of hfills in the label
82 /// the x position of the row