/third_party/skia/modules/skparagraph/src/ |
D | FontArguments.cpp | 5 static bool operator==(const SkFontArguments::VariationPosition::Coordinate& a, in operator ==() 6 const SkFontArguments::VariationPosition::Coordinate& b) { in operator ==() 10 static bool operator==(const SkFontArguments::Palette::Override& a, in operator ==() 11 const SkFontArguments::Palette::Override& b) { in operator ==() 37 FontArguments::FontArguments(const SkFontArguments& args) in FontArguments() 59 SkFontArguments::VariationPosition position{ in CloneTypeface() 64 SkFontArguments::Palette palette{ in CloneTypeface() 70 SkFontArguments args; in CloneTypeface()
|
/third_party/skia/include/core/ |
D | SkFontArguments.h | 16 struct SkFontArguments { struct 43 SkFontArguments() in SkFontArguments() argument 53 SkFontArguments& setCollectionIndex(int collectionIndex) { in setCollectionIndex() argument 65 SkFontArguments& setVariationDesignPosition(VariationPosition position) { in setVariationDesignPosition() argument 79 SkFontArguments& setPalette(Palette palette) { in setPalette() argument
|
D | SkTypeface.h | 74 int getVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate coordinates[], 143 sk_sp<SkTypeface> makeClone(const SkFontArguments&) const; 362 virtual sk_sp<SkTypeface> onMakeClone(const SkFontArguments&) const = 0; 394 SkFontArguments::VariationPosition::Coordinate coordinates[],
|
D | SkFontMgr.h | 120 sk_sp<SkTypeface> makeFromStream(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) const; 166 const SkFontArguments&) const = 0;
|
/third_party/skia/tests/ |
D | FontMgrFontConfigTest.cpp | 78 SkFontArguments::VariationPosition::Coordinate in DEF_TEST() 80 SkFontArguments::VariationPosition in DEF_TEST() 85 SkFontArguments().setVariationDesignPosition(position)), in DEF_TEST() 90 typeface->makeClone(SkFontArguments().setVariationDesignPosition(position)), kTextSize); in DEF_TEST()
|
D | TypefaceTest.cpp | 136 SkFontArguments::VariationPosition::Coordinate* variation = desc.setVariationCoordinates(1); in DEF_TEST() 153 using Variation = SkFontArguments::VariationPosition; in DEF_TEST() 250 SkFontArguments params; in DEF_TEST() 270 SkFontArguments params; in DEF_TEST() 277 sk_sp<SkTypeface> clone = typeface->makeClone(SkFontArguments()); in DEF_TEST() 291 SkFontArguments params; in DEF_TEST() 307 SkFontArguments::VariationPosition::Coordinate positionRead[1]; in DEF_TEST()
|
D | TypefaceMacTest.cpp | 66 using Coordinate = SkFontArguments::VariationPosition::Coordinate; in DEF_TEST() 143 SkFontArguments::VariationPosition variationPosition = in DEF_TEST() 146 typeface->makeClone(SkFontArguments().setVariationDesignPosition(variationPosition))); in DEF_TEST()
|
D | FontMgrAndroidParserTest.cpp | 322 SkFontArguments::VariationPosition::Coordinate in DEF_TEST() 324 SkFontArguments::VariationPosition in DEF_TEST() 329 SkFontArguments().setVariationDesignPosition(position)), in DEF_TEST() 335 typeface->makeClone(SkFontArguments().setVariationDesignPosition(position)), kTextSize); in DEF_TEST()
|
/third_party/skia/modules/skparagraph/include/ |
D | FontArguments.h | 15 FontArguments(const SkFontArguments&); 32 std::vector<SkFontArguments::VariationPosition::Coordinate> fCoordinates; 34 std::vector<SkFontArguments::Palette::Override> fPaletteOverrides;
|
/third_party/skia/gm/ |
D | fontscalerdistortable.cpp | 74 SkFontArguments::VariationPosition::Coordinate coordinates[] = { in onOnceBeforeDraw() 78 SkFontArguments::VariationPosition position = { in onOnceBeforeDraw() 84 SkFontArguments().setVariationDesignPosition(position)); in onOnceBeforeDraw() 88 SkFontArguments().setVariationDesignPosition(position)); in onOnceBeforeDraw()
|
/third_party/skia/src/core/ |
D | SkFontDescriptor.h | 28 SkFontData(std::unique_ptr<SkStreamAsset> stream, SkFontArguments args) in SkFontData() 85 const SkFontArguments::VariationPosition::Coordinate* getVariation() const { in getVariation() 92 SkFontArguments::VariationPosition::Coordinate* setVariationCoordinates(int coordinateCount) { in setVariationCoordinates() 105 using Coordinates = SkAutoSTMalloc<4, SkFontArguments::VariationPosition::Coordinate>;
|
D | SkTypeface.cpp | 41 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override { in onMakeClone() 78 int onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate coordinates[], in onGetVariationDesignPosition() 167 sk_sp<SkTypeface> SkTypeface::makeClone(const SkFontArguments& args) const { in makeClone() 222 SkFontArguments args; in MakeDeserialize() 255 SkFontArguments::VariationPosition::Coordinate coordinates[], int coordinateCount) const in getVariationDesignPosition()
|
D | SkTypeface_remote.h | 67 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override { in onMakeClone() 73 int onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate coordinates[], in onGetVariationDesignPosition()
|
/third_party/skia/src/ports/ |
D | SkFontHost_FreeType_common.h | 89 const SkFontArguments::VariationPosition position, 92 const SkFontArguments::VariationPosition::Coordinate* currentPosition = nullptr); 115 std::unique_ptr<SkFontData> cloneFontData(const SkFontArguments&) const; 132 int onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate coordinates[],
|
D | SkFontMgr_custom.cpp | 52 sk_sp<SkTypeface> SkTypeface_Empty::onMakeClone(const SkFontArguments& args) const { in onMakeClone() 74 sk_sp<SkTypeface> SkTypeface_Stream::onMakeClone(const SkFontArguments& args) const { in onMakeClone() 101 sk_sp<SkTypeface> SkTypeface_File::onMakeClone(const SkFontArguments& args) const { in onMakeClone() 232 return this->makeFromStream(std::move(stream), SkFontArguments().setCollectionIndex(ttcIndex)); in onMakeFromStreamIndex() 236 const SkFontArguments& args) const { in onMakeFromStreamArgs() 248 const SkFontArguments::VariationPosition position = args.getVariationDesignPosition(); in onMakeFromStreamArgs()
|
D | SkFontMgr_custom.h | 53 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override; 70 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override; 86 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override; 150 …sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) con…
|
D | SkTypeface_mac_ct.h | 58 CTFontVariation SkCTVariationFromSkFontArguments(CTFontRef ct, const SkFontArguments& args); 98 int onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate coordinates[], 117 sk_sp<SkTypeface> onMakeClone(const SkFontArguments&) const override;
|
D | SkFontMgr_preview.h | 104 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override in onMakeClone() 162 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override in onMakeClone() 245 SkFontArguments::VariationPosition position = { in SkFontStyleSet_Preview() 342 const SkFontArguments& args) const override;
|
D | SkFontMgr_fuchsia.cpp | 204 const SkFontArguments& args, TypefaceId id) { in CreateTypefaceFromSkStream() 216 const SkFontArguments::VariationPosition position = args.getVariationDesignPosition(); in CreateTypefaceFromSkStream() 227 SkFontArguments().setCollectionIndex(id.ttcIndex), id); in CreateTypefaceFromSkData() 249 const SkFontArguments&) const override; 379 return makeFromStream(std::move(asset), SkFontArguments().setCollectionIndex(ttcIndex)); in onMakeFromStreamIndex() 383 const SkFontArguments& args) const { in onMakeFromStreamArgs()
|
/third_party/skia/src/ports/skia_ohos/ |
D | SkFontMgr_ohos.cpp | 301 SkFontArguments args; in onMakeFromData() 319 SkFontArguments args; in onMakeFromStreamIndex() 332 const SkFontArguments& args) const in onMakeFromStreamArgs() 359 SkFontArguments args; in onMakeFromFile() 395 const SkFontArguments& args, const char path[]) const in makeTypeface()
|
D | SkFontMgr_ohos.h | 46 const SkFontArguments& args) const override; 58 const SkFontArguments& args, const char path[]) const;
|
D | SkTypeface_ohos.cpp | 112 sk_sp<SkTypeface> SkTypeface_OHOS::onMakeClone(const SkFontArguments& args) const in onMakeClone() 118 SkFontArguments::VariationPosition position = args.getVariationDesignPosition(); in onMakeClone()
|
/third_party/skia/tools/fonts/ |
D | RandomScalerContext.h | 33 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override; 47 int onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate coordinates[],
|
D | TestEmptyTypeface.h | 24 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override { in onMakeClone() 55 int onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate coordinates[], in onGetVariationDesignPosition()
|
D | TestTypeface.h | 81 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override { in onMakeClone() 101 int onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate coordinates[], in onGetVariationDesignPosition()
|