Home
last modified time | relevance | path

Searched refs:SkFontTableTag (Results 1 – 25 of 42) sorted by relevance

12

/third_party/flutter/skia/include/core/
DSkTypeface.h34 typedef uint32_t SkFontTableTag; typedef
212 int getTableTags(SkFontTableTag tags[]) const;
216 size_t getTableSize(SkFontTableTag) const;
237 size_t getTableData(SkFontTableTag tag, size_t offset, size_t length,
248 sk_sp<SkData> copyTableData(SkFontTableTag tag) const;
409 virtual int onGetTableTags(SkFontTableTag tags[]) const = 0;
410 virtual size_t onGetTableData(SkFontTableTag, size_t offset,
412 virtual sk_sp<SkData> onCopyTableData(SkFontTableTag) const;
/third_party/skia/include/core/
DSkTypeface.h34 typedef uint32_t SkFontTableTag; typedef
210 int getTableTags(SkFontTableTag tags[]) const;
214 size_t getTableSize(SkFontTableTag) const;
235 size_t getTableData(SkFontTableTag tag, size_t offset, size_t length,
246 sk_sp<SkData> copyTableData(SkFontTableTag tag) const;
407 virtual int onGetTableTags(SkFontTableTag tags[]) const = 0;
408 virtual size_t onGetTableData(SkFontTableTag, size_t offset,
410 virtual sk_sp<SkData> onCopyTableData(SkFontTableTag) const;
/third_party/flutter/skia/src/core/
DSkFontStream.h33 static int GetTableTags(SkStream*, int ttcIndex, SkFontTableTag tags[]);
41 static size_t GetTableData(SkStream*, int ttcIndex, SkFontTableTag tag,
44 static size_t GetTableSize(SkStream* stream, int ttcIndex, SkFontTableTag tag) { in GetTableSize()
DSkTypeface.cpp87 int onGetTableTags(SkFontTableTag tags[]) const override { return 0; } in onGetTableTags()
88 size_t onGetTableData(SkFontTableTag, size_t, size_t, void*) const override { in onGetTableData() argument
247 int SkTypeface::getTableTags(SkFontTableTag tags[]) const { in getTableTags()
251 size_t SkTypeface::getTableSize(SkFontTableTag tag) const { in getTableSize()
255 size_t SkTypeface::getTableData(SkFontTableTag tag, size_t offset, size_t length, in getTableData()
260 sk_sp<SkData> SkTypeface::copyTableData(SkFontTableTag tag) const { in copyTableData()
264 sk_sp<SkData> SkTypeface::onCopyTableData(SkFontTableTag tag) const { in onCopyTableData()
352 constexpr SkFontTableTag os2Tag = SkTEndian_SwapBE32(SkOTTableOS2::TAG); in getAdvancedMetrics()
DSkTypeface_remote.h91 int onGetTableTags(SkFontTableTag tags[]) const override { in onGetTableTags()
94 size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void* data) const override { in onGetTableData() argument
DSkFontStream.cpp157 SkFontTableTag tags[]) { in GetTableTags()
172 SkFontTableTag tag, in GetTableData()
/third_party/skia/src/core/
DSkFontStream.h33 static int GetTableTags(SkStream*, int ttcIndex, SkFontTableTag tags[]);
41 static size_t GetTableData(SkStream*, int ttcIndex, SkFontTableTag tag,
44 static size_t GetTableSize(SkStream* stream, int ttcIndex, SkFontTableTag tag) { in GetTableSize()
DSkTypeface.cpp88 int onGetTableTags(SkFontTableTag tags[]) const override { return 0; } in onGetTableTags()
89 size_t onGetTableData(SkFontTableTag, size_t, size_t, void*) const override { in onGetTableData() argument
257 int SkTypeface::getTableTags(SkFontTableTag tags[]) const { in getTableTags()
261 size_t SkTypeface::getTableSize(SkFontTableTag tag) const { in getTableSize()
265 size_t SkTypeface::getTableData(SkFontTableTag tag, size_t offset, size_t length, in getTableData()
270 sk_sp<SkData> SkTypeface::copyTableData(SkFontTableTag tag) const { in copyTableData()
274 sk_sp<SkData> SkTypeface::onCopyTableData(SkFontTableTag tag) const { in onCopyTableData()
422 constexpr SkFontTableTag os2Tag = SkTEndian_SwapBE32(SkOTTableOS2::TAG); in getAdvancedMetrics()
DSkTypeface_remote.h91 int onGetTableTags(SkFontTableTag tags[]) const override { in onGetTableTags()
94 size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void* data) const override { in onGetTableData() argument
/third_party/flutter/skia/tests/
DFontHostTest.cpp27 SkFontTableTag fTag;
74 SkAutoTArray<SkFontTableTag> array(n); in test_fontstream()
82 SkFontTableTag t = array[i]; in test_fontstream()
135 SkAutoTMalloc<SkFontTableTag> storage(count); in test_tables()
136 SkFontTableTag* tags = storage.get(); in test_tables()
/third_party/skia/tests/
DFontHostTest.cpp27 SkFontTableTag fTag;
74 SkAutoTArray<SkFontTableTag> array(n); in test_fontstream()
82 SkFontTableTag t = array[i]; in test_fontstream()
135 SkAutoTMalloc<SkFontTableTag> storage(count); in test_tables()
136 SkFontTableTag* tags = storage.get(); in test_tables()
/third_party/skia/src/ports/
DSkTypeface_mac_ct.h103 int onGetTableTags(SkFontTableTag tags[]) const override;
104 size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void* data) const override;
105 sk_sp<SkData> onCopyTableData(SkFontTableTag) const override;
DSkFontHost_FreeType_common.h136 int onGetTableTags(SkFontTableTag tags[]) const override;
137 size_t onGetTableData(SkFontTableTag, size_t offset,
139 sk_sp<SkData> onCopyTableData(SkFontTableTag) const override;
DSkTypeface_win_dw.h144 int onGetTableTags(SkFontTableTag tags[]) const override;
145 size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void* data) const override;
146 sk_sp<SkData> onCopyTableData(SkFontTableTag) const override;
DSkTypeface_mac_ct.cpp683 SkTDArray<SkFontTableTag> tableTags; in onOpenStream()
695 constexpr SkFontTableTag CFFTag = SkSetFourByteTag('C', 'F', 'F', ' '); in onOpenStream()
696 constexpr SkFontTableTag CFF2Tag = SkSetFourByteTag('C', 'F', 'F', '2'); in onOpenStream()
713 constexpr SkFontTableTag TYPE1Tag = SkSetFourByteTag('T', 'Y', 'P', '1'); in onOpenStream()
714 constexpr SkFontTableTag CIDTag = SkSetFourByteTag('C', 'I', 'D', ' '); in onOpenStream()
857 int SkTypeface_Mac::onGetTableTags(SkFontTableTag tags[]) const { in onGetTableTags()
868 tags[i] = static_cast<SkFontTableTag>(fontTag); in onGetTableTags()
877 static SkUniqueCFRef<CFDataRef> copy_table_from_font(CTFontRef ctFont, SkFontTableTag tag) { in copy_table_from_font()
887 size_t SkTypeface_Mac::onGetTableData(SkFontTableTag tag, size_t offset, in onGetTableData()
907 sk_sp<SkData> SkTypeface_Mac::onCopyTableData(SkFontTableTag tag) const { in onCopyTableData()
/third_party/flutter/skia/src/ports/
DSkFontHost_FreeType_common.h115 int onGetTableTags(SkFontTableTag tags[]) const override;
116 size_t onGetTableData(SkFontTableTag, size_t offset,
118 sk_sp<SkData> onCopyTableData(SkFontTableTag) const override;
DSkTypeface_win_dw.h129 int onGetTableTags(SkFontTableTag tags[]) const override;
130 size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void* data) const override;
131 sk_sp<SkData> onCopyTableData(SkFontTableTag) const override;
/third_party/flutter/skia/tools/fonts/
DRandomScalerContext.h49 int onGetTableTags(SkFontTableTag tags[]) const override;
50 size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void* data) const override;
DTestEmptyTypeface.h58 int onGetTableTags(SkFontTableTag tags[]) const override { return 0; } in onGetTableTags()
59 size_t onGetTableData(SkFontTableTag, size_t, size_t, void*) const override { return 0; } in onGetTableData() argument
DTestTypeface.h108 int onGetTableTags(SkFontTableTag tags[]) const override { return 0; } in onGetTableTags()
110 size_t onGetTableData(SkFontTableTag tag, in onGetTableData()
DTestSVGTypeface.h118 int onGetTableTags(SkFontTableTag tags[]) const override { return 0; } in onGetTableTags()
120 size_t onGetTableData(SkFontTableTag tag, in onGetTableData()
/third_party/skia/tools/fonts/
DRandomScalerContext.h51 int onGetTableTags(SkFontTableTag tags[]) const override;
52 size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void* data) const override;
DTestEmptyTypeface.h63 int onGetTableTags(SkFontTableTag tags[]) const override { return 0; } in onGetTableTags()
64 size_t onGetTableData(SkFontTableTag, size_t, size_t, void*) const override { return 0; } in onGetTableData() argument
DTestTypeface.h111 int onGetTableTags(SkFontTableTag tags[]) const override { return 0; } in onGetTableTags()
113 size_t onGetTableData(SkFontTableTag tag, in onGetTableData()
DTestSVGTypeface.h123 int onGetTableTags(SkFontTableTag tags[]) const override { return 0; } in onGetTableTags()
125 size_t onGetTableData(SkFontTableTag tag, in onGetTableData()

12