| Flutter Impeller |

Public Member Functions | List of all members
std::hash< impeller::Font::Metrics > Struct Reference

`#include <font.h>`

## Public Member Functions
constexpr std::size_t | operator() (const impeller::Font::Metrics &m) const

## Detailed Description

Definition at line 76 of file font.h.

## Member Function Documentation

## ◆ operator()()

constexpr std::size_t std::hash< impeller::Font::Metrics >::operator() | ( | const impeller::Font::Metrics & | m | ) | const
| inline constexpr

Definition at line 77 of file font.h.

77 {
78 return fml::HashCombine(m.point_size, m.skewX, m.scaleX);
79 }

References impeller::Font::Metrics::point_size, impeller::Font::Metrics::scaleX, and impeller::Font::Metrics::skewX.

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

- impeller/typographer/font.h

impeller::Font::Metrics::skewX
Scalar skewX
Definition: font.h:37
impeller::Font::Metrics::point_size
Scalar point_size
Definition: font.h:35
impeller::Font::Metrics::scaleX
Scalar scaleX
Definition: font.h:38