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

pub struct Glyph {
    // some fields omitted
}

Methods

impl Glyph
[src]

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 format(&self) -> FT_Glyph_Format

fn raw(&self) -> &FT_GlyphRec

Trait Implementations

impl Clone for Glyph
[src]

fn clone(&self) -> Self

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Drop for Glyph
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more