pub struct PortableGlyphBounds {
pub advance: f32,
pub x_min: f32,
pub y_min: f32,
pub x_max: f32,
pub y_max: f32,
}Expand description
A glyph’s advance and control box in points, y up, as XeTeX’s getGlyphWidth and getGlyphBounds give them.
Fields§
§advance: f32Horizontal advance.
x_min: f32Left edge of the control box.
y_min: f32Bottom edge of the control box.
x_max: f32Right edge of the control box.
y_max: f32Top edge of the control box.
Trait Implementations§
Source§impl Clone for PortableGlyphBounds
impl Clone for PortableGlyphBounds
impl Copy for PortableGlyphBounds
Source§impl Debug for PortableGlyphBounds
impl Debug for PortableGlyphBounds
Source§impl Default for PortableGlyphBounds
impl Default for PortableGlyphBounds
Source§impl PartialEq for PortableGlyphBounds
impl PartialEq for PortableGlyphBounds
impl StructuralPartialEq for PortableGlyphBounds
Auto Trait Implementations§
impl Freeze for PortableGlyphBounds
impl RefUnwindSafe for PortableGlyphBounds
impl Send for PortableGlyphBounds
impl Sync for PortableGlyphBounds
impl Unpin for PortableGlyphBounds
impl UnsafeUnpin for PortableGlyphBounds
impl UnwindSafe for PortableGlyphBounds
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more