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.
16 #include "paragraph.h"
18 #include "lyxlayout.h"
26 : pos_(0), fill_(0), height_(0), width_(0), y_(0),
27 ascent_of_text_(0), baseline_(0)
31 Row::Row(ParagraphList::iterator pit, pos_type po)
32 : pit_(pit), pos_(po), fill_(0), height_(0), width_(0), y_(0),
33 ascent_of_text_(0), baseline_(0)
37 void Row::y(unsigned int newy)
43 unsigned int Row::y() const
49 ParagraphList::iterator Row::par()
55 ParagraphList::iterator Row::par() const
61 unsigned short Row::height() const
67 void Row::par(ParagraphList::iterator pit)
73 void Row::pos(pos_type p)
79 pos_type Row::pos() const
97 void Row::height(unsigned short h)
103 void Row::width(unsigned int w)
109 unsigned int Row::width() const
115 void Row::ascent_of_text(unsigned short a)
121 unsigned short Row::ascent_of_text() const
123 return ascent_of_text_;
127 void Row::top_of_text(unsigned int top)
133 unsigned int Row::top_of_text() const
139 void Row::baseline(unsigned int b)
145 unsigned int Row::baseline() const
151 bool Row::isParStart() const