#[repr(C)]pub struct fz_text_item {
pub x: f32,
pub y: f32,
pub adv: f32,
pub gid: c_int,
pub ucs: c_int,
pub cid: 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§adv: f32§gid: c_int§ucs: c_int§cid: c_intTrait 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 duplicate 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 moreSource§impl Debug for fz_text_item
impl Debug for fz_text_item
impl Copy for fz_text_item
Auto Trait Implementations§
impl Freeze for fz_text_item
impl RefUnwindSafe for fz_text_item
impl Send for fz_text_item
impl Sync for fz_text_item
impl Unpin for fz_text_item
impl UnwindSafe for fz_text_item
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