Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
skia::textlayout::FontFeature Struct Reference

#include <TextStyle.h>

Public Member Functions

 FontFeature (SkString name, int value)
 
bool operator== (const FontFeature &that) const
 

Public Attributes

SkString fName
 
int fValue
 

Detailed Description

Definition at line 115 of file TextStyle.h.

Constructor & Destructor Documentation

◆ FontFeature()

skia::textlayout::FontFeature::FontFeature ( SkString  name,
int  value 
)
inline

Definition at line 116 of file TextStyle.h.

116: fName(std::move(name)), fValue(value) {}
uint8_t value
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

Member Function Documentation

◆ operator==()

bool skia::textlayout::FontFeature::operator== ( const FontFeature that) const
inline

Definition at line 117 of file TextStyle.h.

117 {
118 return fName == that.fName && fValue == that.fValue;
119 }

Member Data Documentation

◆ fName

SkString skia::textlayout::FontFeature::fName

Definition at line 120 of file TextStyle.h.

◆ fValue

int skia::textlayout::FontFeature::fValue

Definition at line 121 of file TextStyle.h.


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