| Flutter Impeller |

Public Member Functions | List of all members
impeller::GlyphProperties::Equal Struct Reference

`#include <font_glyph_pair.h>`

## Public Member Functions
bool | operator() (const impeller::GlyphProperties &lhs, const impeller::GlyphProperties &rhs) const

## Detailed Description

Definition at line 23 of file font_glyph_pair.h.

## Member Function Documentation

## ◆ operator()()

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

Definition at line 24 of file font_glyph_pair.h.

25 {
26 return lhs.color.ToARGB() == rhs.color.ToARGB() &&
27 lhs.stroke == rhs.stroke;
28 }
impeller::Color::ToARGB
uint32_t ToARGB() const
Convert to ARGB 32 bit color.
Definition: color.h:259
impeller::GlyphProperties::color
Color color
Definition: font_glyph_pair.h:20
impeller::GlyphProperties::stroke
std::optional< StrokeParameters > stroke
Definition: font_glyph_pair.h:21

References impeller::GlyphProperties::color, impeller::GlyphProperties::stroke, and impeller::Color::ToARGB().

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

- impeller/typographer/font_glyph_pair.h