Searched refs:fFontData (Results 1 – 7 of 7) sorted by relevance
113 result->fFontData = skstd::make_unique<SkFontData>( in Deserialize()126 if (fFontData.get()) { in serialize()127 if (fFontData->getIndex()) { in serialize()128 write_uint(stream, fFontData->getIndex(), kFontIndex); in serialize()130 if (fFontData->getAxisCount()) { in serialize()131 write_uint(stream, fFontData->getAxisCount(), kFontAxes); in serialize()132 for (int i = 0; i < fFontData->getAxisCount(); ++i) { in serialize()133 stream->write32(fFontData->getAxis()[i]); in serialize()140 if (fFontData.get() && fFontData->hasStream()) { in serialize()141 std::unique_ptr<SkStreamAsset> fontStream = fFontData->detachStream(); in serialize()
66 bool hasFontData() const { return fFontData.get() != nullptr; } in hasFontData()67 std::unique_ptr<SkFontData> detachFontData() { return std::move(fFontData); } in detachFontData()73 void setFontData(std::unique_ptr<SkFontData> data) { fFontData = std::move(data); } in setFontData()79 std::unique_ptr<SkFontData> fFontData; variable
23 std::unique_ptr<SkFontData> fFontData; variable64 , fFontData(nullptr) {} in SkTypeface_FCI()70 , fFontData(std::move(data)) in SkTypeface_FCI()72 SkASSERT(fFontData); in SkTypeface_FCI()73 fIdentity.fTTCIndex = fFontData->getIndex(); in SkTypeface_FCI()
24 if (fFontData) { in onOpenStream()25 SkStreamAsset* stream = fFontData->getStream(); in onOpenStream()36 if (fFontData) { in onMakeFontData()37 return std::make_unique<SkFontData>(*fFontData); in onMakeFontData()50 *isLocalStream = SkToBool(fFontData); in onGetFontDescriptor()
25 if (fFontData) { in onOpenStream()26 SkStreamAsset* stream = fFontData->getStream(); in onOpenStream()37 if (fFontData) { in onMakeFontData()38 return skstd::make_unique<SkFontData>(*fFontData); in onMakeFontData()51 *isLocalStream = SkToBool(fFontData); in onGetFontDescriptor()
30 FakeWebFontProvider() : fFontData(GetResourceAsData(kWebFontResource)) {} in FakeWebFontProvider()33 return fFontData; in loadFont()37 sk_sp<SkData> fFontData; member in __anone17493d30111::FakeWebFontProvider