A FontFace represents a particular font at a particular weight, slant, and other characteristic but no size, transformation, or size.  
 More...
A FontFace represents a particular font at a particular weight, slant, and other characteristic but no size, transformation, or size. 
Font faces are created using font-backend-specific constructors or implicitly using the toy text API by way of Context::select_font_face(). The resulting face can be accessed using Context::get_font_face(). 
◆ cobject
◆ FontFace() [1/2]
  
  | 
        
          | Cairo::FontFace::FontFace | ( | cairo_font_face_t * | cobject, |  
          |  |  | bool | has_reference = false |  
          |  | ) |  |  |  | explicit | 
 
Create a C++ wrapper for the C instance. 
This C++ instance should then be given to a RefPtr. 
- Parameters
- 
  
    | cobject | The C instance. |  | has_reference | Whether we already have a reference. Otherwise, the constructor will take an extra reference. |  
 
 
 
◆ FontFace() [2/2]
  
  | 
        
          | Cairo::FontFace::FontFace | ( | const FontFace& |  | ) |  |  | delete | 
 
 
◆ ~FontFace()
  
  | 
        
          | virtual Cairo::FontFace::~FontFace | ( |  | ) |  |  | virtual | 
 
 
◆ cobj() [1/2]
◆ cobj() [2/2]
  
  | 
        
          | const cobject* Cairo::FontFace::cobj | ( |  | ) | const |  | inline | 
 
 
◆ get_type()
      
        
          | FontType Cairo::FontFace::get_type | ( |  | ) | const | 
      
 
Returns the type of the backend used to create a font face. 
 
 
◆ operator=()
◆ reference()
      
        
          | void Cairo::FontFace::reference | ( |  | ) | const | 
      
 
 
◆ unreference()
      
        
          | void Cairo::FontFace::unreference | ( |  | ) | const | 
      
 
 
◆ m_cobject
  
  | 
        
          | cobject* Cairo::FontFace::m_cobject |  | protected | 
 
 
The documentation for this class was generated from the following file: