Searched refs:TypefaceFontProvider (Results 1 – 17 of 17) sorted by relevance
/external/skia/modules/skparagraph/src/ |
D | TypefaceFontProvider.cpp | 12 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/ |
D | skparagraph.gni | 17 "$_include/TypefaceFontProvider.h", 42 "$_src/TypefaceFontProvider.cpp",
|
/external/skia/modules/canvaskit/ |
D | paragraph_bindings.cpp | 449 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()
|
D | paragraph.js | 42 CanvasKit.TypefaceFontProvider.prototype.registerFont = function(font, family) { class in CanvasKit
|
D | externs.js | 380 TypefaceFontProvider: { property
|
D | CHANGELOG.md | 314 - Added `CanvasKit.TypefaceFontProvider`, which can be used to register fonts 319 `ParagraphBuilder` from a `TypefaceFontProvider`.
|
/external/skia/modules/skparagraph/utils/ |
D | TestFontCollection.h | 18 sk_sp<TypefaceFontProvider> fFontProvider;
|
D | TestFontCollection.cpp | 18 fFontProvider = sk_make_sp<TypefaceFontProvider>(); in TestFontCollection()
|
/external/skia/fuzz/ |
D | FuzzSkParagraph.cpp | 68 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection() 108 sk_sp<TypefaceFontProvider> fFontProvider;
|
/external/skia/modules/skparagraph/include/ |
D | TypefaceFontProvider.h | 36 class TypefaceFontProvider : public SkFontMgr {
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 422 readonly TypefaceFontProvider: TypefaceFontProviderFactory; property 2778 export interface TypefaceFontProvider extends EmbindObject<TypefaceFontProvider> { interface 3041 MakeFromFontProvider(style: ParagraphStyle, fontSrc: TypefaceFontProvider): ParagraphBuilder; 3497 Make(): TypefaceFontProvider;
|
D | canvaskit-wasm-tests.ts | 561 const fontSrc = CK.TypefaceFontProvider.Make(); // $ExpectType TypefaceFontProvider
|
/external/skia/modules/canvaskit/tests/ |
D | font.spec.js | 206 const fontProvider = CanvasKit.TypefaceFontProvider.Make();
|
D | paragraph.spec.js | 687 const fontSrc = CanvasKit.TypefaceFontProvider.Make();
|
/external/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 2871 sk_sp<TypefaceFontProvider> font_provider = sk_make_sp<TypefaceFontProvider>(); in onDrawContent()
|
/external/skia/ |
D | Android.bp | 2451 "modules/skparagraph/src/TypefaceFontProvider.cpp", 3601 "modules/skparagraph/src/TypefaceFontProvider.cpp",
|
/external/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 78 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection() 118 sk_sp<TypefaceFontProvider> fFontProvider;
|