Flutter Impeller
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  }
uint32_t ToARGB() const
Convert to ARGB 32 bit color.
Definition: color.h:259
std::optional< StrokeParameters > stroke

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


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