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