Trait fonts::platform::freetype::font::FreeTypeFaceHelpers

source ·
trait FreeTypeFaceHelpers {
    // Required methods
    fn scalable(self) -> bool;
    fn color(self) -> bool;
    fn set_size(self, pt_size: Au) -> Result<Au, &'static str>;
    fn glyph_load_flags(self) -> FT_Int32;
    fn has_table(self, tag: FontTableTag) -> bool;
    fn os2_table(self) -> Option<OS2Table>;
}

Required Methods§

source

fn scalable(self) -> bool

source

fn color(self) -> bool

source

fn set_size(self, pt_size: Au) -> Result<Au, &'static str>

source

fn glyph_load_flags(self) -> FT_Int32

source

fn has_table(self, tag: FontTableTag) -> bool

source

fn os2_table(self) -> Option<OS2Table>

Implementations on Foreign Types§

source§

impl FreeTypeFaceHelpers for FT_Face

source§

fn scalable(self) -> bool

source§

fn color(self) -> bool

source§

fn set_size(self, requested_size: Au) -> Result<Au, &'static str>

source§

fn glyph_load_flags(self) -> FT_Int32

source§

fn has_table(self, tag: FontTableTag) -> bool

source§

fn os2_table(self) -> Option<OS2Table>

Implementors§