| Flutter Impeller |

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

`#include <font_glyph_pair.h>`

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

## Detailed Description

Definition at line 25 of file font_glyph_pair.h.

## Member Function Documentation

## ◆ operator()()

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

Definition at line 26 of file font_glyph_pair.h.

27 {
28 return lhs.color.ToARGB() == rhs.color.ToARGB() &&
29 lhs.stroke == rhs.stroke && lhs.stroke_cap == rhs.stroke_cap &&
30 lhs.stroke_join == rhs.stroke_join &&
31 lhs.stroke_miter == rhs.stroke_miter &&
32 lhs.stroke_width == rhs.stroke_width;
33 }
impeller::Color::ToARGB
constexpr uint32_t ToARGB() const
Convert to ARGB 32 bit color.
Definition: color.h:259
impeller::GlyphProperties::color
Color color
Definition: font_glyph_pair.h:18
impeller::GlyphProperties::stroke_cap
Cap stroke_cap
Definition: font_glyph_pair.h:20
impeller::GlyphProperties::stroke_width
Scalar stroke_width
Definition: font_glyph_pair.h:19
impeller::GlyphProperties::stroke_join
Join stroke_join
Definition: font_glyph_pair.h:21
impeller::GlyphProperties::stroke_miter
Scalar stroke_miter
Definition: font_glyph_pair.h:22
impeller::GlyphProperties::stroke
bool stroke
Definition: font_glyph_pair.h:23

References impeller::GlyphProperties::color, impeller::GlyphProperties::stroke, impeller::GlyphProperties::stroke_cap, impeller::GlyphProperties::stroke_join, impeller::GlyphProperties::stroke_miter, impeller::GlyphProperties::stroke_width, and impeller::Color::ToARGB().

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

- impeller/typographer/font_glyph_pair.h