Flutter Impeller
std::equal_to< impeller::ScaledFont > Struct Reference

#include <font_glyph_pair.h>

Public Member Functions

constexpr bool operator() (const impeller::ScaledFont &lhs, const impeller::ScaledFont &rhs) const
 

Detailed Description

Definition at line 52 of file font_glyph_pair.h.

Member Function Documentation

◆ operator()()

constexpr bool std::equal_to< impeller::ScaledFont >::operator() ( const impeller::ScaledFont lhs,
const impeller::ScaledFont rhs 
) const
inlineconstexpr

Definition at line 53 of file font_glyph_pair.h.

54  {
55  return lhs.font.IsEqual(rhs.font) && lhs.scale == rhs.scale;
56  }

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


The documentation for this struct was generated from the following file:
impeller::ScaledFont::font
Font font
Definition: font_glyph_pair.h:25
impeller::ScaledFont::scale
Scalar scale
Definition: font_glyph_pair.h:26
impeller::Font::IsEqual
bool IsEqual(const Font &other) const override
Definition: font.cc:32