Home
last modified time | relevance | path

Searched refs:TypefaceFontProvider (Results 1 – 17 of 17) sorted by relevance

/external/skia/modules/skparagraph/src/
DTypefaceFontProvider.cpp12 int TypefaceFontProvider::onCountFamilies() const { return fRegisteredFamilies.count(); } in onCountFamilies()
14 void TypefaceFontProvider::onGetFamilyName(int index, SkString* familyName) const { in onGetFamilyName()
19 SkFontStyleSet* TypefaceFontProvider::onMatchFamily(const char familyName[]) const { in onMatchFamily()
27 sk_sp<SkTypeface> TypefaceFontProvider::onMakeFromFontData(std::unique_ptr<SkFontData>) const { in onMakeFromFontData()
31 size_t TypefaceFontProvider::registerTypeface(sk_sp<SkTypeface> typeface) { in registerTypeface()
42 size_t TypefaceFontProvider::registerTypeface(sk_sp<SkTypeface> typeface, const SkString& familyNam… in registerTypeface()
/external/skia/modules/skparagraph/
Dskparagraph.gni17 "$_include/TypefaceFontProvider.h",
42 "$_src/TypefaceFontProvider.cpp",
/external/skia/modules/canvaskit/
Dparagraph_bindings.cpp449 sk_sp<para::TypefaceFontProvider> fontProvider) in EMSCRIPTEN_BINDINGS()
560 class_<para::TypefaceFontProvider, base<SkFontMgr>>("TypefaceFontProvider") in EMSCRIPTEN_BINDINGS()
561 .smart_ptr<sk_sp<para::TypefaceFontProvider>>("sk_sp<TypefaceFontProvider>") in EMSCRIPTEN_BINDINGS()
562 .class_function("Make", optional_override([]()-> sk_sp<para::TypefaceFontProvider> { in EMSCRIPTEN_BINDINGS()
563 return sk_make_sp<para::TypefaceFontProvider>(); in EMSCRIPTEN_BINDINGS()
565 .function("_registerFont", optional_override([](para::TypefaceFontProvider& self, in EMSCRIPTEN_BINDINGS()
Dparagraph.js42 CanvasKit.TypefaceFontProvider.prototype.registerFont = function(font, family) { class in CanvasKit
Dexterns.js380 TypefaceFontProvider: { property
DCHANGELOG.md314 - Added `CanvasKit.TypefaceFontProvider`, which can be used to register fonts
319 `ParagraphBuilder` from a `TypefaceFontProvider`.
/external/skia/modules/skparagraph/utils/
DTestFontCollection.h18 sk_sp<TypefaceFontProvider> fFontProvider;
DTestFontCollection.cpp18 fFontProvider = sk_make_sp<TypefaceFontProvider>(); in TestFontCollection()
/external/skia/fuzz/
DFuzzSkParagraph.cpp68 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection()
108 sk_sp<TypefaceFontProvider> fFontProvider;
/external/skia/modules/skparagraph/include/
DTypefaceFontProvider.h36 class TypefaceFontProvider : public SkFontMgr {
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts422 readonly TypefaceFontProvider: TypefaceFontProviderFactory; property
2778 export interface TypefaceFontProvider extends EmbindObject<TypefaceFontProvider> { interface
3041 MakeFromFontProvider(style: ParagraphStyle, fontSrc: TypefaceFontProvider): ParagraphBuilder;
3497 Make(): TypefaceFontProvider;
Dcanvaskit-wasm-tests.ts561 const fontSrc = CK.TypefaceFontProvider.Make(); // $ExpectType TypefaceFontProvider
/external/skia/modules/canvaskit/tests/
Dfont.spec.js206 const fontProvider = CanvasKit.TypefaceFontProvider.Make();
Dparagraph.spec.js687 const fontSrc = CanvasKit.TypefaceFontProvider.Make();
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp2871 sk_sp<TypefaceFontProvider> font_provider = sk_make_sp<TypefaceFontProvider>(); in onDrawContent()
/external/skia/
DAndroid.bp2451 "modules/skparagraph/src/TypefaceFontProvider.cpp",
3601 "modules/skparagraph/src/TypefaceFontProvider.cpp",
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp78 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection()
118 sk_sp<TypefaceFontProvider> fFontProvider;