Font support for Quartz (CGFont) fonts on OS X. More...

Static Public Member Functions | |
| static RefPtr< QuartzFontFace > | create (CGFontRef font) |
| Creates a new font for the Quartz font backend based on a CGFontRef. | |
| static RefPtr< QuartzFontFace > | create (ATSUFontID font_id) |
| Creates a new font for the Quartz font backend based on an ATSUFontID. | |
Protected Member Functions | |
| QuartzFontFace (CGFontRef font) | |
| QuartzFontFace (ATSUFontID font_id) | |
Font support for Quartz (CGFont) fonts on OS X.
| Cairo::QuartzFontFace::QuartzFontFace | ( | CGFontRef | font | ) | [protected] |
| Cairo::QuartzFontFace::QuartzFontFace | ( | ATSUFontID | font_id | ) | [protected] |
| static RefPtr<QuartzFontFace> Cairo::QuartzFontFace::create | ( | CGFontRef | font | ) | [static] |
Creates a new font for the Quartz font backend based on a CGFontRef.
This font can then be used with Context::set_font_face() or ScaledFont::create().
| font | a CGFontRef obtained through a method external to cairo. |
| static RefPtr<QuartzFontFace> Cairo::QuartzFontFace::create | ( | ATSUFontID | font_id | ) | [static] |
Creates a new font for the Quartz font backend based on an ATSUFontID.
This font can then be used with Context::set_font_face() or ScaledFont::create().
| font_id | an ATSUFontID for the font. |
1.7.3