oa::ui::GlyphInstance
One source-anchored glyph quad record, exactly 48 bytes. anchor_x/anchor_y are normalized to the source image; offset_x/offset_y and width/height are compose-target pixels. flags bit 0 rotates the source coverage counter-clockwise for bottom-to-top text; higher bits are reserved for Ui’s deterministic non-overlap batching.
Declaration
#[repr(C)]pub struct GlyphInstance { pub anchor_x: f32, pub anchor_y: f32, pub offset_x: f32, pub offset_y: f32, pub width: f32, pub height: f32, pub atlas_x: u32, pub atlas_y: u32, pub atlas_w: u32, pub atlas_h: u32, pub color: u32, pub flags: u32, }Public Rust declaration.
Public Methods
Associated Functions
Public Data Members
anchor_xf32fieldanchor_yf32fieldoffset_xf32fieldoffset_yf32fieldwidthf32fieldheightf32fieldatlas_xu32fieldatlas_yu32fieldatlas_wu32fieldatlas_hu32fieldcoloru32fieldflagsu32fieldPublic Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.