| Flutter Impeller |

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

`#include <text_shadow_cache.h>`

## Public Member Functions
constexpr bool | operator() (const TextShadowCacheKey &lhs, const TextShadowCacheKey &rhs) const

## Detailed Description

Definition at line 59 of file text_shadow_cache.h.

## Member Function Documentation

## ◆ operator()()

constexpr bool impeller::TextShadowCache::TextShadowCacheKey::Equal::operator() | ( | const TextShadowCacheKey & | lhs,
|  | const TextShadowCacheKey & | rhs
| ) |  | const
| inlineconstexpr

Definition at line 60 of file text_shadow_cache.h.

61 {
62 return lhs.max_basis == rhs.max_basis &&
63 lhs.identifier == rhs.identifier &&
64 lhs.is_single_glyph == rhs.is_single_glyph &&
65 lhs.font.IsEqual(rhs.font) &&
66 lhs.rounded_sigma == rhs.rounded_sigma;
67 }

References impeller::TextShadowCache::TextShadowCacheKey::font, impeller::TextShadowCache::TextShadowCacheKey::identifier, impeller::TextShadowCache::TextShadowCacheKey::is_single_glyph, impeller::Font::IsEqual(), 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