Seeed Grove ++  v0.0.1-2019
Linux C++ Library For Seeed Grove Devices
SG::Font Namespace Reference

Classes

class  CapRouge
 Cap Rouge is a very simple monospace font for 7-bit ASCII characters between 32 and 127. More...
 
class  CourierNew
 Standard Courier New font for 7-bit ASCII characters between 32 and 127. More...
 
class  DejaVuSans
 Standard Deja Vu Sans font for 7-bit ASCII characters between 32 and 127. More...
 
class  Monospace
 Very simple 8x8 monospace font, typically for 7-bit ASCII characters between 0x20 and 0x7f. More...
 
class  UbuntuMono
 Standard Ubuntu Mono font for 7-bit ASCII characters between 32 and 127. More...
 

Enumerations

enum  EType {
  EType::kInvalid = 0,
  EType::k8x8CapRouge,
  EType::k8x8CourierNew,
  EType::k8x8DejaVuSans,
  EType::k8x8UbuntuMono
}
 Enumerator for the various fonts available. More...
 

Functions

std::shared_ptr< SG::Font::Monospaceget (const EType type)
 Get a shared pointer to the specified font. More...
 

Enumeration Type Documentation

enum SG::Font::EType
strong

Enumerator for the various fonts available.

Enumerator
kInvalid 
k8x8CapRouge 
CapRouge_8x8.png
8x8 Cap Rouge
See also
SG::Font::CapRouge
k8x8CourierNew 
CourierNew_8x8.png
8x8 Courier New
See also
SG::Font::CourierNew
k8x8DejaVuSans 
DejaVuSansMono_8x8.png
8x8 DejaVu Sans
See also
SG::Font::DejaVuSans
k8x8UbuntuMono 
UbuntuMono_8x8.png
8x8 Ubuntu Mono
See also
SG::Font::UbuntuMono

Function Documentation

std::shared_ptr< SG::Font::Monospace > SG::Font::get ( const EType  type)

Get a shared pointer to the specified font.

See also
SG::CommonOLED::set_font()

Referenced by SG::CommonOLED::set_font().

Here is the caller graph for this function: