3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
10 * Metrics for an on-screen text row.
24 : pos_(0), end_(0), fill_(0), height_(0), width_(0), y_(0),
25 ascent_of_text_(0), baseline_(0)
29 Row::Row(pos_type pos)
30 : pos_(pos), end_(0), fill_(0), height_(0), width_(0), y_(0),
31 ascent_of_text_(0), baseline_(0)
35 void Row::y(unsigned int newy)
41 unsigned int Row::y() const
47 unsigned short Row::height() const
53 void Row::pos(pos_type p)
59 pos_type Row::pos() const
65 void Row::end(pos_type p)
71 pos_type Row::end() const
89 void Row::height(unsigned short h)
95 void Row::width(unsigned int w)
101 unsigned int Row::width() const
107 void Row::ascent_of_text(unsigned short a)
113 unsigned short Row::ascent_of_text() const
115 return ascent_of_text_;
119 void Row::top_of_text(unsigned int top)
125 unsigned int Row::top_of_text() const
131 void Row::baseline(unsigned int b)
137 unsigned int Row::baseline() const
143 bool Row::isParStart() const
149 void Row::dump(const char * s) const
151 lyxerr << s << " pos: " << pos_ << " width: " << width_
152 << " height: " << height_
153 << " fill: " << fill_
154 << " ascent_of_text: " << ascent_of_text_
155 << " top_of_text: " << top_of_text_
156 << " y: " << y_ << std::endl;