Struct core_graphics::font::CGFont
[−]
pub struct CGFont(_);
Methods
impl CGFont
[src]
fn type_id() -> CFTypeID
[src]
fn from_data_provider(provider: CGDataProvider) -> Result<CGFont, ()>
[src]
fn from_name(name: &CFString) -> Result<CGFont, ()>
[src]
fn create_copy_from_variations(&self, vars: &CFDictionary) -> Result<CGFont, ()>
[src]
fn postscript_name(&self) -> CFString
[src]
fn get_glyph_b_boxes(&self, glyphs: &[CGGlyph], bboxes: &mut [CGRect]) -> bool
[src]
fn get_glyph_advances(&self, glyphs: &[CGGlyph], advances: &mut [c_int]) -> bool
[src]
fn get_units_per_em(&self) -> c_int
[src]
[src]
fn copy_table_for_tag(&self, tag: u32) -> Option<CFData>
[src]
Trait Implementations
impl Drop for CGFont
impl Clone for CGFont
fn clone(&self) -> CGFont
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Deref for CGFont
type Target = CGFontRef
The resulting type after dereferencing.
fn deref(&self) -> &CGFontRef
Dereferences the value.