- void height(unsigned int h) { height_ = h; }
- ///
- unsigned int height() const { return height_; }
- ///
- void width(unsigned int w);
- ///
- unsigned int width() const;
- ///
- void ascent_of_text(unsigned int a);
- ///
- unsigned int ascent_of_text() const;
- ///
- void top_of_text(unsigned int top);
- ///
- unsigned int top_of_text() const;
- ///
- void baseline(unsigned int b);
- ///
- unsigned int baseline() const;
- /// return true if this row is the start of a paragraph
- bool isParStart() const;
- /// return the cached y position
- unsigned int y_offset() const { return y_offset_; }
- /// cache the y position
- void y_offset(unsigned int newy) { y_offset_ = newy; }