/// \retval true if a full screen redraw is needed.
/// \retval false if a single paragraph redraw is enough.
bool redoParagraph(pit_type const pit);
+ /// Clear cache of paragraph metrics
+ void clear() { par_metrics_.clear(); }
///
int ascent() const { return dim_.asc; }
private:
- ///
+ ///
ParagraphMetrics & parMetrics(pit_type, bool redo_paragraph);
/// the minimum space a manual label needs on the screen in pixels
/// returns pos in given par at given x coord.
pos_type x2pos(pit_type pit, int row, int x) const;
-
+
// FIXME: is there a need for this?
//int pos2x(pit_type pit, pos_type pos) const;