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),
26 x_(0), fill_separator_(0), fill_hfill_(0), fill_label_hfill_(0)
30 Row::Row(pos_type pos)
31 : pos_(pos), end_(0), fill_(0), height_(0), width_(0), y_(0),
32 ascent_of_text_(0), baseline_(0),
33 x_(0), fill_separator_(0), fill_hfill_(0), fill_label_hfill_(0)
37 void Row::y(unsigned int newy)
43 unsigned int Row::y() const
49 unsigned short Row::height() const
55 void Row::pos(pos_type p)
61 pos_type Row::pos() const
67 void Row::end(pos_type p)
73 pos_type Row::end() const
91 void Row::height(unsigned short h)
97 void Row::width(unsigned int w)
103 unsigned int Row::width() const
109 void Row::ascent_of_text(unsigned short a)
115 unsigned short Row::ascent_of_text() const
117 return ascent_of_text_;
121 void Row::top_of_text(unsigned int top)
127 unsigned int Row::top_of_text() const
133 void Row::baseline(unsigned int b)
139 unsigned int Row::baseline() const
157 float Row::fill_separator() const
159 return fill_separator_;
163 void Row::fill_separator(float f)
169 float Row::fill_hfill() const
175 void Row::fill_hfill(float f)
181 float Row::fill_label_hfill() const
183 return fill_label_hfill_;
187 void Row::fill_label_hfill(float f)
189 fill_label_hfill_ = f;
193 bool Row::isParStart() const
199 void Row::dump(const char * s) const
201 lyxerr << s << " pos: " << pos_ << " width: " << width_
202 << " height: " << height_
203 << " fill: " << fill_
204 << " ascent_of_text: " << ascent_of_text_
205 << " top_of_text: " << top_of_text_
206 << " y: " << y_ << std::endl;