mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Document GlyphInfo::id
This commit is contained in:
@@ -33,6 +33,10 @@ impl UvRect {
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub struct GlyphInfo {
|
||||
/// Used for pair-kerning.
|
||||
///
|
||||
/// Doesn't need to be unique.
|
||||
/// Use `ab_glyph::GlyphId(0)` if you just want to have an id, and don't care.
|
||||
pub(crate) id: ab_glyph::GlyphId,
|
||||
|
||||
/// Unit: points.
|
||||
|
||||
Reference in New Issue
Block a user