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

96 {
97 return fml::HashCombine(m.point_size, m.skewX, m.scaleX);
98 }
impeller::Font::Metrics::skewX
Scalar skewX
Definition: font.h:51
impeller::Font::Metrics::scaleX
Scalar scaleX
Definition: font.h:52
impeller::Font::Metrics::point_size
Scalar point_size
Definition: font.h:49

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