Function conrod::text::line::rects
[−]
[src]
pub fn rects<I>(infos: I, font_size: FontSize, bounding_rect: Rect, x_align: Align, y_align: Align, line_spacing: Scalar) -> Rects<I> where I: Iterator<Item=Info> + ExactSizeIterator
Produce an iterator yielding the bounding Rect
for each line in the text.
This function assumes that font_size
is the same FontSize
used to produce the Info
s
yielded by the infos
Iterator.