| 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 94 of file font.h.

## Member Function Documentation

## ◆ operator()()

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

Definition at line 95 of file font.h.

95 {
96 return fml::HashCombine(m.point_size, m.skewX, m.scaleX);
97 }

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:50
impeller::Font::Metrics::point_size
Scalar point_size
Definition: font.h:48
impeller::Font::Metrics::scaleX
Scalar scaleX
Definition: font.h:51