3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
10 * \author Jürgen Vigna
12 * Full author contact details are available in file CREDITS.
14 * Metrics for an on-screen text row.
26 RowMetrics::RowMetrics()
27 : separator(0), hfill(0), label_hfill(0), x(0)
32 : pos_(0), end_(0), ascent_(0), descent_(0), width_(0)
36 Row::Row(pos_type pos)
37 : pos_(pos), end_(0), ascent_(0), descent_(0), width_(0)
41 void Row::pos(pos_type p)
47 pos_type Row::pos() const
53 void Row::endpos(pos_type p)
59 pos_type Row::endpos() const
65 void Row::width(int w)
71 int Row::width() const
77 void Row::ascent(int b)
83 int Row::ascent() const
89 void Row::dump(const char * s) const
91 lyxerr << s << " pos: " << pos_ << " end: " << end_
92 << " width: " << width_
93 << " ascent: " << ascent_
94 << " descent: " << descent_