Lines Matching full:catalog
16 static bool skip_compression(SkPDFCatalog* catalog) {
17 return SkToBool(catalog->getDocumentFlags() &
53 void SkPDFStream::emitObject(SkWStream* stream, SkPDFCatalog* catalog,
56 return emitIndirectObject(stream, catalog);
58 if (!this->populate(catalog)) {
59 return fSubstitute->emitObject(stream, catalog, indirect);
62 this->INHERITED::emitObject(stream, catalog, false);
69 size_t SkPDFStream::getOutputSize(SkPDFCatalog* catalog, bool indirect) {
71 return getIndirectOutputSize(catalog);
73 if (!this->populate(catalog)) {
74 return fSubstitute->getOutputSize(catalog, indirect);
77 return this->INHERITED::getOutputSize(catalog, false) +
99 bool SkPDFStream::populate(SkPDFCatalog* catalog) {
101 if (!skip_compression(catalog) && SkFlate::HaveFlate()) {
116 } else if (fState == kNoCompression_State && !skip_compression(catalog) &&
120 catalog->setSubstitute(this, fSubstitute.get());