Struct freetype::glyph::Glyph [−] [src]

pub struct Glyph {
    // some fields omitted
}

Methods

impl Glyph

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

fn transform(&self, matrix: Option<Matrix>, delta: Option<Vector>) -> FtResult<()>

fn get_cbox(&self, bbox_mode: FT_Glyph_BBox_Mode) -> BBox

fn to_bitmap(&self, render_mode: RenderMode, origin: Option<Vector>) -> FtResult<BitmapGlyph>

fn advance_x(&self) -> isize

fn advance_y(&self) -> isize

fn advance(&self) -> FT_Vector

DEPRECATED: use advance_x and advance_y instead

fn format(&self) -> FT_Glyph_Format

fn raw(&self) -> &FT_GlyphRec

Trait Implementations

impl Clone for Glyph

fn clone(&self) -> Self

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

impl Drop for Glyph

fn drop(&mut self)