Cogs.Core
Public Member Functions | Public Attributes | List of all members
Cogs::Core::FontDefinition Struct Reference

Defines a Font. More...

#include <Font.h>

Public Member Functions

bool operator== (const FontDefinition &other) const noexcept=default
 Compares font definitions.
 

Public Attributes

std::string fontFamily
 Font family name, such as "Arial" or "Tahoma".
 
float fontSize = 0.0f
 Size of the font in pixels.
 

Detailed Description

Defines a Font.

Definition at line 90 of file Font.h.

Member Data Documentation

◆ fontFamily

std::string Cogs::Core::FontDefinition::fontFamily

Font family name, such as "Arial" or "Tahoma".

Definition at line 93 of file Font.h.

Referenced by Cogs::Core::FontManager::loadFont().

◆ fontSize

float Cogs::Core::FontDefinition::fontSize = 0.0f

Size of the font in pixels.

Definition at line 96 of file Font.h.

Referenced by Cogs::Core::FontManager::loadFont().


The documentation for this struct was generated from the following file: