public | abstract |
Inheritance Graph
graph BT
AbstractFont
AbstractFont --> ReferenceCounter
BitmapFont --> AbstractFont
click AbstractFont "classGUI_1_1AbstractFont"
click ReferenceCounter "classUtil_1_1ReferenceCounter"
click BitmapFont "classGUI_1_1BitmapFont"
Description
Public Functions
AbstractFont(uint32_t _lineHeight) | |
~AbstractFont() | |
void | enable() |
void | disable() |
void | renderText(const Geometry::Vec2 & pos, const std::string & text, const Util::Color4ub & color) |
Geometry::Vec2 | getRenderedTextSize(const std::string & text) |
uint32_t | getLineHeight() const |
Protected Functions
void | setLineHeight(uint32_t h) |
Documentation
function
GUI::AbstractFont::AbstractFont
public | inline |
AbstractFont( | uint32_t | _lineHeight ) |
Defined in GUI/Base/Fonts/AbstractFont.h:29
function
GUI::AbstractFont::~AbstractFont
public | inline | virtual |
~AbstractFont( | ) |
Defined in GUI/Base/Fonts/AbstractFont.h:30
function
GUI::AbstractFont::enable
public | inline | virtual |
void enable( | ) |
Defined in GUI/Base/Fonts/AbstractFont.h:33
function
GUI::AbstractFont::disable
public | inline | virtual |
void disable( | ) |
Defined in GUI/Base/Fonts/AbstractFont.h:34
function
GUI::AbstractFont::renderText
public | virtual |
void renderText( | const Geometry::Vec2 & | pos, |
const std::string & | text, | |
const Util::Color4ub & | color | |
) |
Defined in GUI/Base/Fonts/AbstractFont.h:35
function
GUI::AbstractFont::getRenderedTextSize
public | virtual |
Geometry::Vec2 getRenderedTextSize( | const std::string & | text ) |
Defined in GUI/Base/Fonts/AbstractFont.h:36
function
GUI::AbstractFont::getLineHeight
public | const | inline |
uint32_t getLineHeight( | ) const |
Defined in GUI/Base/Fonts/AbstractFont.h:38
function
GUI::AbstractFont::setLineHeight
protected | inline |
void setLineHeight( | uint32_t | h ) |
Defined in GUI/Base/Fonts/AbstractFont.h:43