Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkPDFIccProfileKey::Hash Struct Reference

#include <SkPDFBitmap.h>

Public Member Functions

uint32_t operator() (const SkPDFIccProfileKey &k) const
 

Detailed Description

Definition at line 43 of file SkPDFBitmap.h.

Member Function Documentation

◆ operator()()

uint32_t SkPDFIccProfileKey::Hash::operator() ( const SkPDFIccProfileKey k) const
inline

Definition at line 44 of file SkPDFBitmap.h.

44 {
45 return SkGoodHash()(k.fChannels) ^ SkChecksum::Hash32(k.fData->data(), k.fData->size());
46 }
const void * data() const
Definition: SkData.h:37
size_t size() const
Definition: SkData.h:30
uint32_t Hash32(const void *data, size_t bytes, uint32_t seed)
Definition: SkChecksum.cpp:113
sk_sp< SkData > fData
Definition: SkPDFBitmap.h:36

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