#include <GUIFont.h>
|
| | CGUIFont (const std::string &strFontName, uint32_t style, UTILS::COLOR::Color textColor, UTILS::COLOR::Color shadowColor, float lineSpacing, float origHeight, CGUIFontTTF *font) |
| |
| virtual | ~CGUIFont () |
| |
| std::string & | GetFontName () |
| |
| void | DrawText (float x, float y, UTILS::COLOR::Color color, UTILS::COLOR::Color shadowColor, const vecText &text, uint32_t alignment, float maxPixelWidth) |
| |
| void | DrawText (float x, float y, const std::vector< UTILS::COLOR::Color > &colors, UTILS::COLOR::Color shadowColor, const vecText &text, uint32_t alignment, float maxPixelWidth) |
| |
| void | DrawScrollingText (float x, float y, const std::vector< UTILS::COLOR::Color > &colors, UTILS::COLOR::Color shadowColor, const vecText &text, uint32_t alignment, float maxPixelWidth, const CScrollInfo &scrollInfo) |
| |
| bool | UpdateScrollInfo (const vecText &text, CScrollInfo &scrollInfo) |
| |
| float | GetTextWidth (const vecText &text) |
| |
| float | GetCharWidth (character_t ch) |
| |
| float | GetTextHeight (int numLines) const |
| |
| float | GetTextBaseLine () const |
| |
| float | GetLineHeight () const |
| |
| float | GetScaleFactor () const |
| | get font scale factor (rendered height / original height) More...
|
| |
| void | Begin () |
| |
| void | End () |
| |
| uint32_t | GetStyle () const |
| |
| CGUIFontTTF * | GetFont () const |
| |
| void | SetFont (CGUIFontTTF *font) |
| |
◆ CGUIFont()
◆ ~CGUIFont()
◆ Begin()
◆ DrawScrollingText()
◆ DrawText() [1/2]
◆ DrawText() [2/2]
◆ End()
◆ GetCharWidth()
◆ GetFont()
◆ GetFontName()
| std::string & CGUIFont::GetFontName |
( |
| ) |
|
◆ GetLineHeight()
| float CGUIFont::GetLineHeight |
( |
| ) |
const |
◆ GetScaleFactor()
| float CGUIFont::GetScaleFactor |
( |
| ) |
const |
get font scale factor (rendered height / original height)
◆ GetStyle()
| uint32_t CGUIFont::GetStyle |
( |
| ) |
const |
|
inline |
◆ GetTextBaseLine()
| float CGUIFont::GetTextBaseLine |
( |
| ) |
const |
◆ GetTextHeight()
| float CGUIFont::GetTextHeight |
( |
int |
numLines | ) |
const |
◆ GetTextWidth()
| float CGUIFont::GetTextWidth |
( |
const vecText & |
text | ) |
|
◆ SetFont()
◆ UpdateScrollInfo()
◆ m_font
◆ m_lineSpacing
| float CGUIFont::m_lineSpacing |
|
protected |
◆ m_origHeight
| float CGUIFont::m_origHeight |
|
protected |
◆ m_shadowColor
◆ m_strFontName
| std::string CGUIFont::m_strFontName |
|
protected |
◆ m_style
| uint32_t CGUIFont::m_style |
|
protected |
◆ m_textColor
The documentation for this class was generated from the following files: