10 : typeface_(
std::move(typeface)) {}
23 return reinterpret_cast<size_t>(typeface_.
get());
27 auto sk_other =
reinterpret_cast<const TypefaceSkia*
>(&other);
28 return sk_other->typeface_ == typeface_;
TypefaceSkia(sk_sp< SkTypeface > typeface)
std::size_t GetHash() const override
const sk_sp< SkTypeface > & GetSkiaTypeface() const
bool IsEqual(const Typeface &other) const override
bool IsValid() const override
A typeface, usually obtained from a font-file, on disk describes the intrinsic properties of the font...