Struct freetype::glyph_slot::SubGlyphInfo
source · pub struct SubGlyphInfo {
pub index: i32,
pub flags: u32,
pub arg1: i32,
pub arg2: i32,
pub transform: FT_Matrix,
}
Expand description
A description of a given subglyph returned by GlyphSlot::get_subglyph_info
function.
Fields§
§index: i32
The glyph index of the subglyph.
flags: u32
The subglyph flags, see FT_SUBGLYPH_FLAG_XXX.
arg1: i32
The subglyph’s first argument (if any).
arg2: i32
The subglyph’s second argument (if any).
transform: FT_Matrix
The subglyph transformation (if any).
Trait Implementations§
source§impl Clone for SubGlyphInfo
impl Clone for SubGlyphInfo
source§fn clone(&self) -> SubGlyphInfo
fn clone(&self) -> SubGlyphInfo
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