Struct mupdf_sys::fz_text_item
source · #[repr(C)]pub struct fz_text_item {
pub x: f32,
pub y: f32,
pub gid: c_int,
pub ucs: c_int,
}
Expand description
Text buffer.
The trm field contains the a, b, c and d coefficients. The e and f coefficients come from the individual elements, together they form the transform matrix for the glyph.
Glyphs are referenced by glyph ID. The Unicode text equivalent is kept in a separate array with indexes into the glyph array.
Fields§
§x: f32
§y: f32
§gid: c_int
§ucs: c_int
Trait Implementations§
source§impl Clone for fz_text_item
impl Clone for fz_text_item
source§fn clone(&self) -> fz_text_item
fn clone(&self) -> fz_text_item
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more