Flutter Engine
 
Loading...
Searching...
No Matches
impeller::ScaledFont::Equal Struct Reference

#include <font_glyph_pair.h>

Public Member Functions

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

Detailed Description

Definition at line 45 of file font_glyph_pair.h.

Member Function Documentation

◆ operator()()

bool impeller::ScaledFont::Equal::operator() ( const impeller::ScaledFont lhs,
const impeller::ScaledFont rhs 
) const
inline

Definition at line 46 of file font_glyph_pair.h.

47 {
48 return lhs.font.IsEqual(rhs.font) && lhs.scale == rhs.scale;
49 }
bool IsEqual(const Font &other) const override
Definition font.cc:36

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


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