Struct freetype::face::Face
[−]
[src]
pub struct Face<'a> { // some fields omitted }
pub struct Face<'a> { // some fields omitted }
impl<'a> Face<'a>
fn from_raw(library_raw: FT_Library, raw: FT_Face) -> Self
fn attach_file(&self, filepathname: &str) -> FtResult<()>
fn reference(&self) -> FtResult<()>
fn set_char_size(&self, char_width: isize, char_height: isize, horz_resolution: u32, vert_resolution: u32) -> FtResult<()>
fn set_pixel_sizes(&self, pixel_width: u32, pixel_height: u32) -> FtResult<()>
fn load_glyph(&self, glyph_index: u32, load_flags: LoadFlag) -> FtResult<()>
fn load_char(&self, char_code: usize, load_flags: LoadFlag) -> FtResult<()>
fn set_transform(&self, matrix: &Matrix, delta: &Vector)
fn get_char_index(&self, charcode: usize) -> u32
fn get_kerning(&self, left_char_index: u32, right_char_index: u32, kern_mode: KerningMode) -> FtResult<Vector>
fn glyph(&self) -> &GlyphSlot
fn has_horizontal(&self) -> bool
fn has_vertical(&self) -> bool
fn has_kerning(&self) -> bool
fn is_scalable(&self) -> bool
fn is_sfnt(&self) -> bool
fn is_fixed_width(&self) -> bool
fn has_fixed_sizes(&self) -> bool
fn has_glyph_names(&self) -> bool
fn is_cid_keyed(&self) -> bool
fn is_tricky(&self) -> bool
fn has_color(&self) -> bool
fn raw(&self) -> &FT_FaceRec
fn ascender(&self) -> FT_Short
fn descender(&self) -> FT_Short
fn height(&self) -> FT_Short
fn max_advance_width(&self) -> FT_Short
fn max_advance_height(&self) -> FT_Short
fn underline_position(&self) -> FT_Short
fn underline_thickness(&self) -> FT_Short
fn family_name(&self) -> Option<String>
fn style_name(&self) -> Option<String>
fn size_metrics(&self) -> Option<FT_Size_Metrics>
impl<'a> Clone for Face<'a>
fn clone(&self) -> Self
fn clone_from(&mut self, source: &Self)
impl<'a> Debug for Face<'a>
impl<'a> Drop for Face<'a>
fn drop(&mut self)
impl<'a> Hash for Face<'a>
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl<'a> PartialEq for Face<'a>
impl<'a> Eq for Face<'a>
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).