Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
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< KODI::UTILS::COLOR::Color > &colors, const vecText &text, uint32_t alignment, float maxPixelWidth, bool scrolling, std::chrono::steady_clock::time_point now, 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 ( )
default

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< KODI::UTILS::COLOR::Color > & colors,
const vecText & text,
uint32_t alignment,
float maxPixelWidth,
bool scrolling,
std::chrono::steady_clock::time_point now,
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: