Flutter Engine
The Flutter Engine
Namespaces | Functions
FontArguments.cpp File Reference
#include "modules/skparagraph/include/FontArguments.h"

Go to the source code of this file.

Namespaces

namespace  std
 
namespace  skia
 
namespace  skia::textlayout
 

Functions

static bool operator== (const SkFontArguments::VariationPosition::Coordinate &a, const SkFontArguments::VariationPosition::Coordinate &b)
 
static bool operator== (const SkFontArguments::Palette::Override &a, const SkFontArguments::Palette::Override &b)
 
bool skia::textlayout::operator== (const FontArguments &a, const FontArguments &b)
 
bool skia::textlayout::operator!= (const skia::textlayout::FontArguments &a, const skia::textlayout::FontArguments &b)
 

Function Documentation

◆ operator==() [1/2]

static bool operator== ( const SkFontArguments::Palette::Override a,
const SkFontArguments::Palette::Override b 
)
static

Definition at line 10 of file FontArguments.cpp.

11 {
12 return a.index == b.index && a.color == b.color;
13}
static bool b
struct MyStruct a[10]

◆ operator==() [2/2]

static bool operator== ( const SkFontArguments::VariationPosition::Coordinate a,
const SkFontArguments::VariationPosition::Coordinate b 
)
static

Definition at line 5 of file FontArguments.cpp.

6 {
7 return a.axis == b.axis && a.value == b.value;
8}