Struct freetype::glyph_slot::GlyphSlot
[−]
[src]
pub struct GlyphSlot { // some fields omitted }
Methods
impl GlyphSlot
[src]
fn from_raw(library_raw: FT_Library, raw: FT_GlyphSlot) -> Self
fn render_glyph(&self, render_mode: RenderMode) -> FtResult<()>
fn get_subglyph_info(&self, sub_index: u32) -> FtResult<SubGlyphInfo>
fn get_glyph(&self) -> FtResult<Glyph>
fn outline(&self) -> Option<Outline>
fn bitmap(&self) -> Bitmap
fn bitmap_left(&self) -> i32
fn bitmap_top(&self) -> i32
fn advance(&self) -> Vector
fn linear_hori_advance(&self) -> FT_Fixed
fn linear_vert_advance(&self) -> FT_Fixed
fn metrics(&self) -> GlyphMetrics
fn raw(&self) -> &FT_GlyphSlotRec
Trait Implementations
impl Hash for GlyphSlot
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl PartialEq for GlyphSlot
[src]
fn eq(&self, __arg_0: &GlyphSlot) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GlyphSlot) -> bool
This method tests for !=
.
impl Eq for GlyphSlot
[src]
impl Clone for GlyphSlot
[src]
fn clone(&self) -> GlyphSlot
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more