Home
last modified time | relevance | path

Searched refs:SkFontData (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/src/ports/
DSkFontMgr_custom.cpp56 std::unique_ptr<SkFontData> SkTypeface_Empty::onMakeFontData() const { return nullptr; } in onMakeFontData()
58 SkTypeface_Stream::SkTypeface_Stream(std::unique_ptr<SkFontData> fontData, in SkTypeface_Stream()
70 std::unique_ptr<SkFontData> SkTypeface_Stream::onMakeFontData() const { in onMakeFontData()
71 return std::make_unique<SkFontData>(*fData); in onMakeFontData()
75 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
102 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
117 std::unique_ptr<SkFontData> SkTypeface_File::onMakeFontData() const { in onMakeFontData()
123 return std::make_unique<SkFontData>(std::move(stream), index, nullptr, 0); in onMakeFontData()
252 auto data = std::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
DSkFontConfigTypeface.h23 std::unique_ptr<SkFontData> fFontData;
34 static SkTypeface_FCI* Create(std::unique_ptr<SkFontData> data, in Create()
45 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
66 SkTypeface_FCI(std::unique_ptr<SkFontData> data, in SkTypeface_FCI()
79 std::unique_ptr<SkFontData> onMakeFontData() const override;
DSkFontMgr_preview.h99 std::unique_ptr<SkFontData> onMakeFontData() const override in onMakeFontData()
101 … return std::make_unique<SkFontData>(this->makeStream(), fIndex, fAxes.begin(), fAxes.count()); in onMakeFontData()
106 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
133 SkTypeface_PreviewStream(std::unique_ptr<SkFontData> data, in SkTypeface_PreviewStream()
157 std::unique_ptr<SkFontData> onMakeFontData() const override in onMakeFontData()
159 return std::make_unique<SkFontData>(*fData); in onMakeFontData()
164 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
172 const std::unique_ptr<const SkFontData> fData;
DSkFontMgr_custom.h54 std::unique_ptr<SkFontData> onMakeFontData() const override;
63 SkTypeface_Stream(std::unique_ptr<SkFontData> fontData,
69 std::unique_ptr<SkFontData> onMakeFontData() const override;
73 const std::unique_ptr<const SkFontData> fData;
87 std::unique_ptr<SkFontData> onMakeFontData() const override;
DSkFontMgr_android.cpp96 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData()
97 return std::make_unique<SkFontData>(this->makeStream(), fIndex, in onMakeFontData()
101 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
129 SkTypeface_AndroidStream(std::unique_ptr<SkFontData> data, in SkTypeface_AndroidStream()
149 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData()
150 return std::make_unique<SkFontData>(*fData); in onMakeFontData()
154 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
165 const std::unique_ptr<const SkFontData> fData;
451 auto data = std::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex()
473 auto data = std::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
DSkFontMgr_FontConfigInterface.cpp35 std::unique_ptr<SkFontData> SkTypeface_FCI::onMakeFontData() const { in onMakeFontData()
37 return std::make_unique<SkFontData>(*fFontData); in onMakeFontData()
41 return std::make_unique<SkFontData>(std::unique_ptr<SkStreamAsset>(fFCI->openStream(id)), in onMakeFontData()
241 auto fontData = std::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex()
271 auto fontData = std::make_unique<SkFontData>(std::move(stream), in onMakeFromStreamArgs()
DSkFontHost_FreeType_common.h107 std::unique_ptr<SkFontData> makeFontData() const;
115 std::unique_ptr<SkFontData> cloneFontData(const SkFontArguments&) const;
141 virtual std::unique_ptr<SkFontData> onMakeFontData() const = 0;
DSkFontMgr_fontconfig.cpp401 SkTypeface_stream(std::unique_ptr<SkFontData> data, in SkTypeface_stream()
421 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData()
422 return std::make_unique<SkFontData>(*fData); in onMakeFontData()
426 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
438 const std::unique_ptr<const SkFontData> fData;
523 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
537 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData()
544 return std::make_unique<SkFontData>(std::move(stream), index, nullptr, 0); in onMakeFontData()
969 auto data = std::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex()
991 auto data = std::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
DSkFontMgr_preview.cpp172 auto data = std::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex()
191 auto data = std::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
DSkTypeface_mac_ct.h39 class SkFontData; variable
DSkFontMgr_custom_embedded.cpp102 auto data = std::make_unique<SkFontData>(stream->duplicate(), faceIndex, nullptr, 0); in load_font_from_data()
DSkFontHost_FreeType.cpp180 void setupAxes(const SkFontData& data);
252 void SkTypeface_FreeType::FaceRec::setupAxes(const SkFontData& data) { in setupAxes()
295 std::unique_ptr<SkFontData> data = typeface->makeFontData(); in Make()
628 std::unique_ptr<SkFontData> SkTypeface_FreeType::cloneFontData(const SkFontArguments& args) const { in cloneFontData()
650 return std::make_unique<SkFontData>(std::move(stream), ttcIndex, axisValues.get(), axisCount); in cloneFontData()
1773 std::unique_ptr<SkFontData> SkTypeface_FreeType::makeFontData() const { in makeFontData()
DSkFontMgr_fuchsia.cpp191 SkTypeface_Fuchsia(std::unique_ptr<SkFontData> fontData, const SkFontStyle& style, in SkTypeface_Fuchsia()
220 auto fontData = std::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in CreateTypefaceFromSkStream()
/third_party/skia/src/core/
DSkFontDescriptor.h18 class SkFontData {
21 SkFontData(std::unique_ptr<SkStreamAsset> stream, int index, const SkFixed* axis, int axisCount) in SkFontData() function
28 SkFontData(std::unique_ptr<SkStreamAsset> stream, SkFontArguments args) in SkFontData() function
37 SkFontData(const SkFontData& that) in SkFontData() function
/third_party/skia/src/ports/skia_ohos/
DSkTypeface_ohos.cpp57 std::unique_ptr<SkFontData> SkTypeface_OHOS::onMakeFontData() const in onMakeFontData()
69 return std::make_unique<SkFontData>(fontInfo->stream->duplicate(), fontInfo->index, in onMakeFontData()
DSkTypeface_ohos.h25 virtual std::unique_ptr<SkFontData> onMakeFontData() const override;
/third_party/skia/include/core/
DSkFontMgr.h21 class SkFontData; variable
DSkTypeface.h22 class SkFontData; variable