| Flutter Impeller |

Public Member Functions | List of all members
impeller::ScaledFont::Equal 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 50 of file font_glyph_pair.h.

## Member Function Documentation

## ◆ operator()()

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

Definition at line 51 of file font_glyph_pair.h.

52 {
53 return lhs.font.IsEqual(rhs.font) && lhs.scale == rhs.scale;
54 }
impeller::Font::IsEqual
bool IsEqual(const Font &other) const override
Definition: font.cc:36
impeller::ScaledFont::scale
Rational scale
Definition: font_glyph_pair.h:43
impeller::ScaledFont::font
Font font
Definition: font_glyph_pair.h:42

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

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

- impeller/typographer/font_glyph_pair.h