Defines a particular format for text, including font face, size, and style attributes. This class cannot be inherited.  
 More...
#include <Font.h>
|  | 
| Properties are used to simplify use of fonts.  | 
| const bool & | Bold | 
|  | Gets a value that indicates whether this Font is bold. 
 | 
|  | 
| const FontFamily & | Family | 
|  | Gets the FontFamily associated with this Font. 
 | 
|  | 
| const std::uint32_t & | Height | 
|  | Gets the line spacing of this Font. 
 | 
|  | 
| const bool & | Italic | 
|  | Gets a value that indicates whether this Font has the italic style applied. 
 | 
|  | 
| const std::string & | Name | 
|  | Gets the face name of this Font. 
 | 
|  | 
| const std::uint32_t & | Size | 
|  | Gets the em-size, in points, of this Font. 
 | 
|  | 
Defines a particular format for text, including font face, size, and style attributes. This class cannot be inherited. 
◆ Font() [1/4]
      
        
          | PhWidgets::Drawing::Font::Font | ( | const Font & | other, | 
        
          |  |  | typedefs::font_style_bitmask | fstyle ) | 
      
 
 
◆ Font() [2/4]
(constructor) 
Initializes a new Font using a specified size and style. 
- Parameters
- 
  
  
 
 
◆ Font() [3/4]
      
        
          | PhWidgets::Drawing::Font::Font | ( | font_id_type | fid | ) |  | 
      
 
(constructor) 
Initializes a new Font using a Photon FontID. 
- Parameters
- 
  
  
 
 
◆ Font() [4/4]
      
        
          | PhWidgets::Drawing::Font::Font | ( | const Font & | other | ) |  | 
      
 
(copy constructor) 
Constructs a Font by copy. 
- Parameters
- 
  
    | [in] | other | another Font to be used as source to initialize the elements of the container with. |  
 
 
 
◆ operator!=()
      
        
          | bool PhWidgets::Drawing::Font::operator!= | ( | const Font & | other | ) | const | 
      
 
Compares Fonts. 
Compares the Fonts by their Photon FontID. 
- Parameters
- 
  
    | [in] | other | Font whose contents to compare. |  
 
 
 
◆ operator<()
      
        
          | bool PhWidgets::Drawing::Font::operator< | ( | const Font & | other | ) | const | 
      
 
Compares Fonts. 
Compares the Fonts by their Photon FontID. 
- Parameters
- 
  
    | [in] | other | Font whose contents to compare. |  
 
 
 
◆ operator=()
      
        
          | Font & PhWidgets::Drawing::Font::operator= | ( | const Font & | other | ) |  | 
      
 
Assigns value in Font. 
Replaces the contents of the Font. 
- Parameters
- 
  
    | [in] | other | another Font to use as data source. |  
 
 
 
◆ operator==()
      
        
          | bool PhWidgets::Drawing::Font::operator== | ( | const Font & | other | ) | const | 
      
 
Compares Fonts. 
Compares the Fonts by their Photon FontID. 
- Parameters
- 
  
    | [in] | other | Font whose contents to compare. |  
 
 
 
The documentation for this class was generated from the following file: