Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skia::textlayout::OneLineShaper::FontKey::Hasher Struct Reference

#include <OneLineShaper.h>

Public Member Functions

uint32_t operator() (const FontKey &key) const
 

Detailed Description

Definition at line 142 of file OneLineShaper.h.

Member Function Documentation

◆ operator()()

uint32_t skia::textlayout::OneLineShaper::FontKey::Hasher::operator() ( const FontKey &  key) const

Definition at line 789 of file OneLineShaper.cpp.

789 {
790 return SkGoodHash()(key.fUnicode) ^
791 SkGoodHash()(key.fFontStyle) ^
792 SkGoodHash()(key.fLocale);
793}

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