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

#include <GUIFontCache.h>

Public Member Functions

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

Public Attributes

const CGUIFontTTFBasem_font
 

Constructor & Destructor Documentation

◆ CGUIFontCache()

template<class Position , class Value >
template CGUIFontCache< Position, Value >::CGUIFontCache ( CGUIFontTTFBase 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 ( Position &  pos,
const std::vector< UTILS::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 CGUIFontTTFBase& CGUIFontCache< Position, Value >::m_font

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