mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Improve a couple of docstrings
This commit is contained in:
@@ -6,7 +6,9 @@ pub struct FontImage {
|
||||
pub version: u64,
|
||||
pub width: usize,
|
||||
pub height: usize,
|
||||
/// White color with the given alpha (linear space 0-255).
|
||||
/// The alpha (linear space 0-255) of something white.
|
||||
///
|
||||
/// One byte per pixel. Often you want to use [`Self::srgba_pixels`] instead.
|
||||
pub pixels: Vec<u8>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user