Struct freetype::tt_os2::TrueTypeOS2Table
source · pub struct TrueTypeOS2Table { /* private fields */ }
Implementations§
source§impl TrueTypeOS2Table
impl TrueTypeOS2Table
pub fn from_face(face: &mut Face) -> Option<Self>
pub fn version(&self) -> FT_UShort
pub fn avg_char_width(&self) -> FT_Short
pub fn us_weight_class(&self) -> FT_UShort
pub fn us_width_class(&self) -> FT_UShort
pub fn fs_type(&self) -> FT_UShort
pub fn y_subscript_x_size(&self) -> FT_Short
pub fn y_subscript_y_size(&self) -> FT_Short
pub fn y_subscript_x_offset(&self) -> FT_Short
pub fn y_subscript_y_offset(&self) -> FT_Short
pub fn y_superscript_x_size(&self) -> FT_Short
pub fn y_superscript_y_size(&self) -> FT_Short
pub fn y_superscript_x_offset(&self) -> FT_Short
pub fn y_superscript_y_offset(&self) -> FT_Short
pub fn y_strikeout_size(&self) -> FT_Short
pub fn y_strikeout_position(&self) -> FT_Short
pub fn s_family_class(&self) -> FT_Short
pub fn fs_selection(&self) -> FT_UShort
pub fn s_typo_ascender(&self) -> FT_Short
pub fn s_typo_descender(&self) -> FT_Short
pub fn s_typo_line_gap(&self) -> FT_Short
pub fn x_height(&self) -> FT_Short
Trait Implementations§
source§impl Clone for TrueTypeOS2Table
impl Clone for TrueTypeOS2Table
source§fn clone(&self) -> TrueTypeOS2Table
fn clone(&self) -> TrueTypeOS2Table
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more