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)
58 void Row::endpos(pos_type p)
64 void Row::dump(const char * s) const
66 lyxerr << s << " pos: " << pos_ << " end: " << end_
67 << " width: " << dim_.wid
68 << " ascent: " << dim_.asc
69 << " descent: " << dim_.des