Function noto_sans_mono_bitmap::get_raster
source · pub fn get_raster(
c: char,
style: FontWeight,
size: RasterHeight
) -> Option<RasterizedChar>
Expand description
Returns a RasterizedChar
for the given char, FontWeight
, and RasterHeight
.
Returns None, if the given char is not known by the font. In this case,
you could fall back to get_raster(' ', ...)
.