PgLayoutIter.getLineYrange

Divides the vertical space in the gtk.Layout being iterated over between the lines in the layout, and returns the space belonging to the current line. A line's range includes the line's logical extents, plus half of the spacing above and below the line, if Layout.setSpacing has been called to set layout spacing. The Y positions are in layout coordinates (origin at top left of the entire layout).

class PgLayoutIter
void
getLineYrange
(
out int y0
,
out int y1
)

Parameters

y0 int

start of line, or NULL

y1 int

end of line, or NULL