- pit_type rowBreakPoint(
- int width,
- pit_type const pit,
- pit_type first
- ) const;
-
- /// sets row.width to the minimum space a row needs on the screen in pixel
- int rowWidth(
- int right_margin,
- pit_type const pit,
- pos_type const first,
- pos_type const end
- ) const;
-
- /// Calculate and set the height of the row (width member is set to 0)
- Dimension rowHeight(
- pit_type const pit,
- pos_type const first,
- pos_type const end
- ) const;
-
- /// draw selection for a single row
- void drawRowSelection(PainterInfo & pi, int x, Row const & row,
- DocIterator const & beg, DocIterator const & end,
- bool drawOnBegMargin, bool drawOnEndMargin) const;
+ void breakRow(Row & row, int right_margin, pit_type const pit) const;
+
+ // Expand the alignment of paragraph \param par at position \param pos
+ LyXAlignment getAlign(Paragraph const & par, pos_type pos) const;
+ /** this calculates the specified parameters. needed when setting
+ * the cursor and when creating a visible row */
+ void computeRowMetrics(pit_type pit, Row & row, int width) const;
+
+ // Helper function for the other checkInsetHit method.
+ InsetList::InsetTable * checkInsetHit(pit_type pit, int x, int y);
+