Lines Matching refs:fDocument
200 return new SkPDFDevice(cinfo.fInfo.dimensions(), fDocument); in onCreateDevice()
290 , fDocument(doc) in SkPDFDevice()
310 const SkMatrix& pageXform = fDocument->currentPageTransform(); in drawAnnotation()
323 auto pg = fDocument->currentPage(); in drawAnnotation()
324 fDocument->fNamedDestinations.push_back(SkPDFNamedDestination{sk_ref_sp(value), p, pg}); in drawAnnotation()
341 fDocument->fCurrentPageLinkToURLs.push_back( in drawAnnotation()
344 fDocument->fCurrentPageLinkToDestinations.emplace_back( in drawAnnotation()
512 SkPDFGraphicState::kLuminosity_SMaskMode, fDocument), content.stream()); in internalDrawPathWithFilter()
524 SkPDFIndirectReference& noSMaskGS = fDocument->fNoSmaskGraphicState; in clearMaskOnGraphicState()
528 noSMaskGS = fDocument->emit(tmp); in clearMaskOnGraphicState()
812 const SkAdvancedTypefaceMetrics* metrics = SkPDFFont::GetMetrics(typeface, fDocument); in internalDrawGlyphRun()
818 const std::vector<SkUnichar>& glyphToUnicode = SkPDFFont::GetUnicodeMap(typeface, fDocument); in internalDrawGlyphRun()
845 markId = fDocument->getMarkIdForNodeId(fNodeId); in internalDrawGlyphRun()
928 font = SkPDFFont::GetFontResource(fDocument, glyphs[index], typeface); in internalDrawGlyphRun()
1121 SkPDFMakeFormXObject(fDocument, this->content(), in makeFormXObjectFromDevice()
1149 fDocument), content.stream()); in drawFormXObjectWithMask()
1280 fDocument, in setUpContentEntry()
1381 SkPDFDevice shapeDev(this->size(), fDocument, fInitialTransform); in finishContentEntry()
1569 SkPDFGraphicState::kLuminosity_SMaskMode, fDocument), content.stream()); in internalDrawImageRect()
1693 SkPDFIndirectReference* pdfimagePtr = fDocument->fPDFBitmapMap.find(key); in internalDrawImageRect()
1697 pdfimage = SkPDFSerializeImage(imageSubset.image().get(), fDocument, in internalDrawImageRect()
1698 fDocument->metadata().fEncodingQuality); in internalDrawImageRect()
1700 fDocument->fPDFBitmapMap.set(key, pdfimage); in internalDrawImageRect()