![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
MSDF OpenGL configuration. More...
#include <FontContext.hpp>
Public Member Functions | |
FontContext () | |
Constructor. | |
~FontContext () | |
Destructor. | |
void | set_dpi (const float x, const float y) const |
Set font DPI. | |
msdfgl_context_t | context () |
Get font context object. | |
Private Member Functions | |
FontContext (const FontContext &)=delete | |
Copy constructor. | |
FontContext (FontContext &&)=delete | |
Move constructor. | |
FontContext & | operator= (const FontContext &)=delete |
Copy assignment operator. | |
FontContext & | operator= (FontContext &&)=delete |
Move assignment operator. | |
Private Attributes | |
msdfgl_context_t | m_context |
Library context object. | |
MSDF OpenGL configuration.
Definition at line 25 of file FontContext.hpp.
galaxy::graphics::FontContext::FontContext | ( | ) |
Constructor.
Definition at line 18 of file FontContext.cpp.
galaxy::graphics::FontContext::~FontContext | ( | ) |
Destructor.
Definition at line 37 of file FontContext.cpp.
|
privatedelete |
Copy constructor.
|
privatedelete |
Move constructor.
void galaxy::graphics::FontContext::set_dpi | ( | const float | x, |
const float | y ) const |
Set font DPI.
Definition at line 45 of file FontContext.cpp.
|
nodiscard |
Get font context object.
Definition at line 50 of file FontContext.cpp.
|
privatedelete |
Copy assignment operator.
|
privatedelete |
Move assignment operator.
|
private |
Library context object.
Definition at line 79 of file FontContext.hpp.