Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
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 77 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 78 of file font_glyph_pair.h.

79 {
80 return lhs.font.IsEqual(rhs.font) && lhs.scale == rhs.scale;
81 }
bool IsEqual(const Font &other) const override
Definition: font.cc:36

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