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),
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),
33 ascent_of_text_(0), baseline_(0)
37 ParagraphList::iterator Row::par()
43 ParagraphList::iterator Row::par() const
49 unsigned short Row::height() const
55 void Row::par(ParagraphList::iterator pit)
61 void Row::pos(pos_type p)
67 pos_type Row::pos() const
85 void Row::height(unsigned short h)
91 void Row::width(unsigned int w)
97 unsigned int Row::width() const
103 void Row::ascent_of_text(unsigned short a)
109 unsigned short Row::ascent_of_text() const
111 return ascent_of_text_;
115 void Row::top_of_text(unsigned int top)
121 unsigned int Row::top_of_text() const
127 void Row::baseline(unsigned int b)
133 unsigned int Row::baseline() const
139 bool Row::isParStart() const