Flutter Impeller
impeller::TextShadowCache::TextShadowCacheKey Struct Reference

A key to look up cached glyph textures. More...

#include <text_shadow_cache.h>

Classes

struct  Equal
 
struct  Hash
 

Public Member Functions

 TextShadowCacheKey (Scalar p_max_basis, int64_t p_identifier, bool p_is_single_glyph, const Font &p_font, Sigma p_sigma)
 

Public Attributes

Scalar max_basis
 
int64_t identifier
 
bool is_single_glyph
 
Font font
 
Rational rounded_sigma
 

Detailed Description

A key to look up cached glyph textures.

Definition at line 38 of file text_shadow_cache.h.

Constructor & Destructor Documentation

◆ TextShadowCacheKey()

impeller::TextShadowCache::TextShadowCacheKey::TextShadowCacheKey ( Scalar  p_max_basis,
int64_t  p_identifier,
bool  p_is_single_glyph,
const Font p_font,
Sigma  p_sigma 
)

Definition at line 18 of file text_shadow_cache.cc.

Member Data Documentation

◆ font

Font impeller::TextShadowCache::TextShadowCacheKey::font

◆ identifier

int64_t impeller::TextShadowCache::TextShadowCacheKey::identifier

◆ is_single_glyph

bool impeller::TextShadowCache::TextShadowCacheKey::is_single_glyph

◆ max_basis

Scalar impeller::TextShadowCache::TextShadowCacheKey::max_basis

◆ rounded_sigma

Rational impeller::TextShadowCache::TextShadowCacheKey::rounded_sigma

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