Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
CGUIFontCache< Position, Value > Class Template Reference

#include <GUIFontCache.h>

Public Member Functions

 CGUIFontCache (CGUIFontTTF &font)
 
 ~CGUIFontCache ()
 
Value & Lookup (const CGraphicContext &context, Position &pos, const std::vector< UTILS::COLOR::Color > &colors, const vecText &text, uint32_t alignment, float maxPixelWidth, bool scrolling, unsigned int nowMillis, bool &dirtyCache)
 
void Flush ()
 

Public Attributes

const CGUIFontTTFm_font
 

Constructor & Destructor Documentation

◆ CGUIFontCache()

template<class Position , class Value >
template CGUIFontCache< Position, Value >::CGUIFontCache ( CGUIFontTTF font)
explicit

◆ ~CGUIFontCache()

template<class Position , class Value >
template CGUIFontCache< Position, Value >::~CGUIFontCache ( )

Member Function Documentation

◆ Flush()

template<class Position , class Value >
template void CGUIFontCache< Position, Value >::Flush ( )

◆ Lookup()

template<class Position , class Value >
template CGUIFontCacheDynamicValue & CGUIFontCache< Position, Value >::Lookup ( const CGraphicContext context,
Position &  pos,
const std::vector< UTILS::COLOR::Color > &  colors,
const vecText text,
uint32_t  alignment,
float  maxPixelWidth,
bool  scrolling,
unsigned int  nowMillis,
bool dirtyCache 
)

Member Data Documentation

◆ m_font

template<class Position , class Value >
const CGUIFontTTF& CGUIFontCache< Position, Value >::m_font

The documentation for this class was generated from the following files: