| cairomm
    1.0
    | 
A simple font face used for the cairo 'toy' font API. More...

| Public Member Functions | |
| std::string | get_family () const | 
| Gets the familly name of a toy font.  More... | |
| FontSlant | get_slant () const | 
| Gets the slant a toy font.  More... | |
| FontWeight | get_weight () const | 
| Gets the weight a toy font.  More... | |
|  Public Member Functions inherited from Cairo::FontFace | |
| FontFace (cairo_font_face_t*cobject, bool has_reference=false) | |
| Create a C++ wrapper for the C instance.  More... | |
| FontFace (const FontFace&)=delete | |
| FontFace& | operator= (const FontFace&)=delete | 
| virtual | ~FontFace () | 
| FontType | get_type () const | 
| Returns the type of the backend used to create a font face.  More... | |
| cobject* | cobj () | 
| const cobject* | cobj () const | 
| void | reference () const | 
| void | unreference () const | 
| Static Public Member Functions | |
| static RefPtr< ToyFontFace > | create (const std::string& family, FontSlant slant, FontWeight weight) | 
| Creates a font face from a triplet of family, slant, and weight.  More... | |
| Protected Member Functions | |
| ToyFontFace (const std::string& family, FontSlant slant, FontWeight weight) | |
| Additional Inherited Members | |
|  Public Types inherited from Cairo::FontFace | |
| typedef cairo_font_face_t | cobject | 
|  Protected Attributes inherited from Cairo::FontFace | |
| cobject* | m_cobject | 
A simple font face used for the cairo 'toy' font API.
| 
 | protected | 
| 
 | static | 
Creates a font face from a triplet of family, slant, and weight.
These font faces are used in implementation of the the Context "toy" font API.
If family is the zero-length string "", the platform-specific default family is assumed. The default family then can be queried using get_family().
The Context::select_font_face() function uses this to create font faces. See that function for limitations of toy font faces.
| family | a font family name, encoded in UTF-8. | 
| slant | the slant for the font. | 
| weight | the weight for the font. | 
| std::string Cairo::ToyFontFace::get_family | ( | ) | const | 
Gets the familly name of a toy font.
| FontSlant Cairo::ToyFontFace::get_slant | ( | ) | const | 
Gets the slant a toy font.
| FontWeight Cairo::ToyFontFace::get_weight | ( | ) | const | 
Gets the weight a toy font.
 1.8.9.1
 1.8.9.1