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

pub struct Library { /* fields omitted */ }

Methods

impl Library
[src]

[src]

This function is used to create a new FreeType library instance and add the default modules. It returns a struct encapsulating the freetype library. The library is correctly discarded when the struct is dropped.

[src]

Open a font file using its pathname. face_index should be 0 if there is only 1 font in the file.

[src]

Similar to new_face, but loads file data from a byte array in memory

[src]

[src]

Get the underlying library object

Trait Implementations

impl Drop for Library
[src]

[src]

Executes the destructor for this type. Read more