SDOM - Simple SDL Document Object Model
A lightweight, extensible Document Object Model for SDL-based applications.
Loading...
Searching...
No Matches
SDOM_IFontObject.hpp File Reference
#include <SDL3/SDL.h>
#include <unordered_map>
#include <SDOM/SDOM_IAssetObject.hpp>

Go to the source code of this file.

Classes

struct  SDOM::FontStyle
 
class  SDOM::IFontObject
 
struct  SDOM::IFontObject::InitStruct
 

Namespaces

namespace  SDOM
 Contains all core classes and utilities for the SDOM library.
 

Enumerations

enum class  SDOM::LabelAlign : uint8_t {
  SDOM::DEFAULT = 0b0000 , SDOM::LEFT = 0b0001 , SDOM::CENTER = 0b0010 , SDOM::RIGHT = 0b0011 ,
  SDOM::TOP = 0b0100 , SDOM::TOP_LEFT = 0b0101 , SDOM::TOP_CENTER = 0b0110 , SDOM::TOP_RIGHT = 0b0111 ,
  SDOM::MIDDLE = 0b1000 , SDOM::MIDDLE_LEFT = 0b1001 , SDOM::MIDDLE_CENTER = 0b1010 , SDOM::MIDDLE_RIGHT = 0b1011 ,
  SDOM::BOTTOM = 0b1100 , SDOM::BOTTOM_LEFT = 0b1101 , SDOM::BOTTOM_CENTER = 0b1110 , SDOM::BOTTOM_RIGHT = 0b1111
}
 

Functions

bool SDOM::operator!= (const SDOM::FontStyle &a, const SDOM::FontStyle &b)
 
bool SDOM::operator== (const SDOM::FontStyle &a, const SDOM::FontStyle &b)
 

Variables

constexpr int SDOM::maxOutlineThickness = 3