| 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 53 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 54 of file text_shadow_cache.h.

54 {
55 return fml::HashCombine(key.max_basis, key.identifier,
56 key.is_single_glyph, key.font.GetHash(),
57 key.rounded_sigma.GetHash(),
58 key.color.ToARGB());
59 }

References impeller::TextShadowCache::TextShadowCacheKey::color, 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, impeller::TextShadowCache::TextShadowCacheKey::rounded_sigma, and impeller::Color::ToARGB().

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

- impeller/entity/contents/text_shadow_cache.h