Home
last modified time | relevance | path

Searched refs:TypefaceId (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/ports/
DSkFontMgr_fuchsia.cpp102 struct TypefaceId { struct
106 bool operator==(TypefaceId& other) { in operator ==() argument
116 bool isFixedPitch, const SkString familyName, TypefaceId id) in SkTypeface_Fuchsia()
121 TypefaceId id() { return fId; } in id()
124 TypefaceId fId;
128 const SkFontArguments& args, TypefaceId id) { in CreateTypefaceFromSkStream()
149 sk_sp<SkTypeface> CreateTypefaceFromSkData(sk_sp<SkData> data, TypefaceId id) { in CreateTypefaceFromSkData()
188 sk_sp<SkTypeface> GetOrCreateTypeface(TypefaceId id, const fuchsia::mem::Buffer& buffer) const;
355 return GetOrCreateTypeface(TypefaceId{response->buffer_id, response->font_index}, in FetchTypeface()
384 TypefaceId* id = static_cast<TypefaceId*>(ctx); in FindByTypefaceId()
[all …]
/external/skqp/src/ports/
DSkFontMgr_fuchsia.cpp102 struct TypefaceId { struct
106 bool operator==(TypefaceId& other) { in operator ==() argument
116 bool isFixedPitch, const SkString familyName, TypefaceId id) in SkTypeface_Fuchsia()
121 TypefaceId id() { return fId; } in id()
124 TypefaceId fId;
128 const SkFontArguments& args, TypefaceId id) { in CreateTypefaceFromSkStream()
149 sk_sp<SkTypeface> CreateTypefaceFromSkData(sk_sp<SkData> data, TypefaceId id) { in CreateTypefaceFromSkData()
188 sk_sp<SkTypeface> GetOrCreateTypeface(TypefaceId id, const fuchsia::mem::Buffer& buffer) const;
363 return GetOrCreateTypeface(TypefaceId{response->buffer_id, response->font_index},
392 TypefaceId* id = static_cast<TypefaceId*>(ctx);
[all …]