Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
GUIFontCache.h File Reference
#include <cstddef>
#include <cstring>
#include <stdint.h>
#include <algorithm>
#include <vector>
#include <memory>
#include <cassert>
#include "utils/Color.h"
#include "utils/TransformMatrix.h"

Classes

struct  CGUIFontCacheKey< Position >
 
struct  CGUIFontCacheEntry< Position, Value >
 
struct  CGUIFontCacheHash< Position >
 
struct  CGUIFontCacheKeysMatch< Position >
 
class  CGUIFontCache< Position, Value >
 
struct  CGUIFontCacheStaticPosition
 
struct  CGUIFontCacheStaticValue
 
struct  CGUIFontCacheDynamicPosition
 
struct  CVertexBuffer
 

Macros

#define FONT_CACHE_TIME_LIMIT   (1000)
 
#define FONT_CACHE_DIST_LIMIT   (0.01f)
 

Typedefs

typedef CVertexBuffer CGUIFontCacheDynamicValue
 

Functions

bool Match (const CGUIFontCacheStaticPosition &a, const TransformMatrix &a_m, const CGUIFontCacheStaticPosition &b, const TransformMatrix &b_m, bool scrolling)
 
float MatrixHashContribution (const CGUIFontCacheKey< CGUIFontCacheStaticPosition > &a)
 
bool Match (const CGUIFontCacheDynamicPosition &a, const TransformMatrix &a_m, const CGUIFontCacheDynamicPosition &b, const TransformMatrix &b_m, bool scrolling)
 
float MatrixHashContribution (const CGUIFontCacheKey< CGUIFontCacheDynamicPosition > &a)
 

Macro Definition Documentation

◆ FONT_CACHE_DIST_LIMIT

#define FONT_CACHE_DIST_LIMIT   (0.01f)

◆ FONT_CACHE_TIME_LIMIT

#define FONT_CACHE_TIME_LIMIT   (1000)

Typedef Documentation

◆ CGUIFontCacheDynamicValue

Function Documentation

◆ Match() [1/2]

bool Match ( const CGUIFontCacheDynamicPosition a,
const TransformMatrix a_m,
const CGUIFontCacheDynamicPosition b,
const TransformMatrix b_m,
bool  scrolling 
)
inline

◆ Match() [2/2]

bool Match ( const CGUIFontCacheStaticPosition a,
const TransformMatrix a_m,
const CGUIFontCacheStaticPosition b,
const TransformMatrix b_m,
bool  scrolling 
)
inline

◆ MatrixHashContribution() [1/2]

float MatrixHashContribution ( const CGUIFontCacheKey< CGUIFontCacheDynamicPosition > &  a)
inline

◆ MatrixHashContribution() [2/2]

float MatrixHashContribution ( const CGUIFontCacheKey< CGUIFontCacheStaticPosition > &  a)
inline