Flutter Impeller
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 62 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 63 of file text_shadow_cache.h.

64  {
65  return lhs.max_basis == rhs.max_basis &&
66  lhs.identifier == rhs.identifier &&
67  lhs.is_single_glyph == rhs.is_single_glyph &&
68  lhs.font.IsEqual(rhs.font) &&
69  lhs.rounded_sigma == rhs.rounded_sigma && lhs.color == rhs.color;
70  }

References impeller::TextShadowCache::TextShadowCacheKey::color, 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: