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.
25 RowMetrics::RowMetrics() : separator(0), hfill(0), label_hfill(0), x(0)
30 : pos_(0), end_(0), height_(0), width_(0), y_offset_(0),
31 ascent_of_text_(0), baseline_(0)
35 Row::Row(pos_type pos)
36 : pos_(pos), end_(0), height_(0), width_(0), y_offset_(0),
37 ascent_of_text_(0), baseline_(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(unsigned int w)
71 unsigned int Row::width() const
77 void Row::ascent_of_text(unsigned int a)
83 unsigned int Row::ascent_of_text() const
85 return ascent_of_text_;
89 void Row::top_of_text(unsigned int top)
95 unsigned int Row::top_of_text() const
101 void Row::baseline(unsigned int b)
107 unsigned int Row::baseline() const
113 bool Row::isParStart() const
119 void Row::dump(const char * s) const
121 lyxerr << s << " pos: " << pos_ << " width: " << width_
122 << " height: " << height_
123 << " ascent_of_text: " << ascent_of_text_
124 << " top_of_text: " << top_of_text_
125 << " y_offset: " << y_offset_ << std::endl;