Struct freetype::library::Library [−] [src]

pub struct Library {
    // some fields omitted
}

Methods

impl Library

fn init() -> FtResult<Self>

fn new_face<P>(&self, path: P, face_index: isize) -> FtResult<Face<'static>> where P: AsRef<OsStr>

fn new_memory_face<'a>(&self, buffer: &'a [u8], face_index: isize) -> FtResult<Face<'a>>

fn raw(&self) -> FT_Library

Trait Implementations

impl Drop for Library

fn drop(&mut self)