| Flutter Impeller |

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

`#include <font_glyph_pair.h>`

## Public Member Functions
constexpr std::size_t | operator() (const impeller::ScaledFont &sf) const

## Detailed Description

Definition at line 37 of file font_glyph_pair.h.

## Member Function Documentation

## ◆ operator()()

constexpr std::size_t impeller::ScaledFont::Hash::operator() | ( | const impeller::ScaledFont & | sf | ) | const
| inline constexpr

Definition at line 38 of file font_glyph_pair.h.

38 {
39 return fml::HashCombine(sf.font.GetHash(), sf.scale);
40 }

References impeller::ScaledFont::font, impeller::Font::GetHash(), and impeller::ScaledFont::scale.

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

- impeller/typographer/font_glyph_pair.h

impeller::Font::GetHash
std::size_t GetHash() const override
Definition: font.cc:31
impeller::ScaledFont::font
Font font
Definition: font_glyph_pair.h:34
impeller::ScaledFont::scale
Scalar scale
Definition: font_glyph_pair.h:35