Home
last modified time | relevance | path

Searched refs:bytes_per_char (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/libs/lib_ui/font/
H A Dmod.rs19 bytes_per_char: usize, field
33 bytes_per_char: (size.width + 7) / 8 * size.height, in new()
50 let pos = index * self.bytes_per_char; in char_map()
52 return &self.bitmap.data[pos..pos + self.bytes_per_char]; in char_map()