Function nannou::text::rt_positioned_glyphs
source · pub fn rt_positioned_glyphs<'a, I>(
lines_with_rects: I,
font: &'a Font,
font_size: FontSize,
window_size: Vec2,
scale_factor: Scalar
) -> impl 'a + Iterator<Item = PositionedGlyph>
Expand description
Produce the position of each glyph ready for the rusttype glyph cache.
Window dimensions are expected in logical coordinates.