Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
GUIFontCache.h File Reference
#include "utils/ColorUtils.h"
#include "utils/TransformMatrix.h"
#include <algorithm>
#include <cassert>
#include <chrono>
#include <cstddef>
#include <cstring>
#include <memory>
#include <stdint.h>
#include <vector>

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
 

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)
 

Variables

constexpr float FONT_CACHE_DIST_LIMIT = 0.01f
 

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

Variable Documentation

◆ FONT_CACHE_DIST_LIMIT

float FONT_CACHE_DIST_LIMIT = 0.01f
constexpr