All C++ classes and functions.  
More...
 | 
| color  | fc::rgba (uint32_t c) | 
|   | Constructs a fc::color instance from an integer with red, green, blue and alpha components.  More...
  | 
|   | 
| color  | fc::rgba (uint8_t r, uint8_t g, uint8_t b, uint8_t a) | 
|   | Constructs a fc::color instance from red, green, blue and alpha values.  More...
  | 
|   | 
| color  | fc::rgb (uint8_t r, uint8_t g, uint8_t b) | 
|   | Constructs a fc::color instance from red, green and blue values, alpha will be set to 255 (opaque)  More...
  | 
|   | 
| color  | fc::rgb (uint32_t c) | 
|   | Constructs a fc::color instance from an integer with red, green and blue components, alpha will be set to 255 (opaque)  More...
  | 
|   | 
| font_size  | fc::px (float v) | 
|   | Constructs a fc::font_size instance in pixels with specified value.  More...
  | 
|   | 
| font_size  | fc::pt (float v) | 
|   | Constructs a fc::font_size instance in points with specified value.  More...
  | 
|   | 
| font  | fc::from (uint8_t const *font_data, fc::font_size const &font_size, fc::color const &font_color) | 
|   | A helper method to ease font cooking via method chaining.  More...
  | 
|   | 
All C++ classes and functions. 
◆ rgba() [1/2]
  
  
      
        
          | color fc::rgba  | 
          ( | 
          uint32_t  | 
          c | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Constructs a fc::color instance from an integer with red, green, blue and alpha components. 
- Parameters
 - 
  
    | c | An integer in the form 0xRRGGBBAA  | 
  
   
- Returns
 - A fc::color instance 
 
- See also
 - fc_0xrgba 
 
 
 
◆ rgba() [2/2]
  
  
      
        
          | color fc::rgba  | 
          ( | 
          uint8_t  | 
          r,  | 
         
        
           | 
           | 
          uint8_t  | 
          g,  | 
         
        
           | 
           | 
          uint8_t  | 
          b,  | 
         
        
           | 
           | 
          uint8_t  | 
          a  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructs a fc::color instance from red, green, blue and alpha values. 
- Parameters
 - 
  
    | r | The red component  | 
    | g | The green component  | 
    | b | The blue component  | 
    | a | The alpha component  | 
  
   
- Returns
 - A fc::color instance 
 
- See also
 - fc_rgba 
 
 
 
◆ rgb() [1/2]
  
  
      
        
          | color fc::rgb  | 
          ( | 
          uint8_t  | 
          r,  | 
         
        
           | 
           | 
          uint8_t  | 
          g,  | 
         
        
           | 
           | 
          uint8_t  | 
          b  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructs a fc::color instance from red, green and blue values, alpha will be set to 255 (opaque) 
- Parameters
 - 
  
    | r | The red component  | 
    | g | The green component  | 
    | b | The blue component  | 
  
   
- Returns
 - A fc::color instance 
 
- See also
 - fc_rgb 
 
 
 
◆ rgb() [2/2]
  
  
      
        
          | color fc::rgb  | 
          ( | 
          uint32_t  | 
          c | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Constructs a fc::color instance from an integer with red, green and blue components, alpha will be set to 255 (opaque) 
- Parameters
 - 
  
    | c | An integer in the form 0x__RRGGBB (leftmost byte is ignored)  | 
  
   
- Returns
 - A fc::color instance 
 
- See also
 - fc_0xrgb 
 
 
 
◆ px()
Constructs a fc::font_size instance in pixels with specified value. 
- Parameters
 - 
  
    | v | The value size, in pixels, for this font  | 
  
   
- Returns
 - A fc::font_size instance 
 
- See also
 - fc_px 
 
 
 
◆ pt()
Constructs a fc::font_size instance in points with specified value. 
- Parameters
 - 
  
    | v | The value size, in points, for this font  | 
  
   
- Returns
 - A fc::font_size instance 
 
- See also
 - fc_pt 
 
 
 
◆ from()
 
color rgb(uint8_t r, uint8_t g, uint8_t b)
Constructs a fc::color instance from red, green and blue values, alpha will be set to 255 (opaque)
Definition: color.hpp:135
 
font from(uint8_t const *font_data, fc::font_size const &font_size, fc::color const &font_color)
A helper method to ease font cooking via method chaining.
Definition: font.hpp:238