Struct freetype::glyph_slot::GlyphSlot [−] [src]

pub struct GlyphSlot {
    // some fields omitted
}

Methods

impl GlyphSlot

fn from_raw(library_raw: FT_Library, raw: FT_GlyphSlot) -> Self

fn render_glyph(&self, render_mode: RenderMode) -> FtResult<()>

fn get_subglyph_info(&self, sub_index: u32) -> FtResult<(i32, u32, i32, i32, FT_Matrix)>

fn get_glyph(&self) -> FtResult<Glyph>

fn outline(&self) -> Option<Outline>

fn bitmap(&self) -> Bitmap

fn bitmap_left(&self) -> i32

fn bitmap_top(&self) -> i32

fn advance(&self) -> Vector

fn linear_hori_advance(&self) -> FT_Fixed

fn linear_vert_advance(&self) -> FT_Fixed

fn metrics(&self) -> GlyphMetrics

fn raw(&self) -> &FT_GlyphSlotRec

Trait Implementations

Derived Implementations

impl Hash for GlyphSlot

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for GlyphSlot

fn eq(&self, __arg_0: &GlyphSlot) -> bool

fn ne(&self, __arg_0: &GlyphSlot) -> bool

impl Eq for GlyphSlot

impl Clone for GlyphSlot

fn clone(&self) -> GlyphSlot

fn clone_from(&mut self, source: &Self)

impl Copy for GlyphSlot