| Flutter Impeller |

Public Member Functions | List of all members
impeller::TextShadowCache::TextShadowCacheKey::Hash Struct Reference

`#include <text_shadow_cache.h>`

## Public Member Functions
std::size_t | operator() (const TextShadowCacheKey &key) const

## Detailed Description

Definition at line 51 of file text_shadow_cache.h.

## Member Function Documentation

## ◆ operator()()

std::size_t impeller::TextShadowCache::TextShadowCacheKey::Hash::operator() | ( | const TextShadowCacheKey & | key | ) | const
| inline

Definition at line 52 of file text_shadow_cache.h.

52 {
53 return fml::HashCombine(key.max_basis, key.identifier,
54 key.is_single_glyph, key.font.GetHash(),
55 key.rounded_sigma.GetHash());
56 }

References impeller::TextShadowCache::TextShadowCacheKey::font, impeller::Rational::GetHash(), impeller::Font::GetHash(), impeller::TextShadowCache::TextShadowCacheKey::identifier, impeller::TextShadowCache::TextShadowCacheKey::is_single_glyph, impeller::TextShadowCache::TextShadowCacheKey::max_basis, and impeller::TextShadowCache::TextShadowCacheKey::rounded_sigma.

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

- impeller/entity/contents/text_shadow_cache.h