Flutter Impeller
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: