Lines Matching refs:ttcIndex
65 std::unique_ptr<SkStreamAsset> SkTypeface_Stream::onOpenStream(int* ttcIndex) const {
66 *ttcIndex = fData->getIndex();
96 std::unique_ptr<SkStreamAsset> SkTypeface_File::onOpenStream(int* ttcIndex) const {
97 *ttcIndex = this->getIndex();
226 sk_sp<SkTypeface> SkFontMgr_Custom::onMakeFromData(sk_sp<SkData> data, int ttcIndex) const {
227 return this->makeFromStream(std::make_unique<SkMemoryStream>(std::move(data)), ttcIndex);
231 int ttcIndex) const {
232 return this->makeFromStream(std::move(stream), SkFontArguments().setCollectionIndex(ttcIndex));
257 sk_sp<SkTypeface> SkFontMgr_Custom::onMakeFromFile(const char path[], int ttcIndex) const {
259 return stream ? this->makeFromStream(std::move(stream), ttcIndex) : nullptr;