may be gaps between the ranges returned by this function.
Parameters
y0 | start of line |
y1 | end of line |
void getLineYrange(out int y0, out int y1)Divides the vertical space in the [pango.layout.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 [pango.layout.Layout.setSpacing] has been called to set layout spacing. The Y positions are in layout coordinates (origin at top left of the entire layout).
may be gaps between the ranges returned by this function.
y0 | start of line |
y1 | end of line |