mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Fix bad doc-links
This commit is contained in:
@@ -608,6 +608,7 @@ pub struct Glyph {
|
|||||||
/// Logical position: pos.y is the same for all chars of the same [`TextFormat`].
|
/// Logical position: pos.y is the same for all chars of the same [`TextFormat`].
|
||||||
pub pos: Pos2,
|
pub pos: Pos2,
|
||||||
|
|
||||||
|
/// Logical width of the glyph.
|
||||||
pub advance_width: f32,
|
pub advance_width: f32,
|
||||||
|
|
||||||
/// Height of this row of text.
|
/// Height of this row of text.
|
||||||
@@ -616,18 +617,18 @@ pub struct Glyph {
|
|||||||
/// unless explicitly overridden by [`TextFormat::line_height`].
|
/// unless explicitly overridden by [`TextFormat::line_height`].
|
||||||
pub line_height: f32,
|
pub line_height: f32,
|
||||||
|
|
||||||
/// [`Font::ascent`]
|
/// The ascent of this font.
|
||||||
pub font_ascent: f32,
|
pub font_ascent: f32,
|
||||||
|
|
||||||
/// [`Font::row_height`]
|
/// The row/line height of this font.
|
||||||
pub font_height: f32,
|
pub font_height: f32,
|
||||||
|
|
||||||
/// [`FontImpl::row_height`]
|
/// The ascent of the sub-font within the font ("FontImpl").
|
||||||
pub font_impl_height: f32,
|
|
||||||
|
|
||||||
/// [`FontImpl::ascent`]
|
|
||||||
pub font_impl_ascent: f32,
|
pub font_impl_ascent: f32,
|
||||||
|
|
||||||
|
/// The row/line height of the sub-font within the font ("FontImpl").
|
||||||
|
pub font_impl_height: f32,
|
||||||
|
|
||||||
/// Position and size of the glyph in the font texture, in texels.
|
/// Position and size of the glyph in the font texture, in texels.
|
||||||
pub uv_rect: UvRect,
|
pub uv_rect: UvRect,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user