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.
27 : changed_(false), crc_(0), pos_(0), end_(0), separator(0), hfill(0),
32 Row::Row(pos_type pos)
33 : changed_(false), crc_(0), pos_(pos), end_(0), separator(0), hfill(0),
38 void Row::setCrc(size_type crc)
40 changed_ |= crc != crc_;
45 void Row::setDimension(Dimension const & dim)
47 changed_ |= dim != dim_;
52 void Row::pos(pos_type p)
54 changed_ |= p != pos_;
59 void Row::endpos(pos_type p)
61 changed_ |= p != end_;
66 void Row::dump(const char * s) const
68 lyxerr << s << " pos: " << pos_ << " end: " << end_
69 << " width: " << dim_.wid
70 << " ascent: " << dim_.asc
71 << " descent: " << dim_.des