Lines Matching refs:fPdfDoc
439 int bpc = (int)image->BitsPerComponent(pdfContext->fPdfDoc); in getImageFromObjectCore()
440 int width = (int)image->Width(pdfContext->fPdfDoc); in getImageFromObjectCore()
441 int height = (int)image->Height(pdfContext->fPdfDoc); in getImageFromObjectCore()
448 if (image->isColorSpaceAName(pdfContext->fPdfDoc)) { in getImageFromObjectCore()
449 colorSpace = image->getColorSpaceAsName(pdfContext->fPdfDoc); in getImageFromObjectCore()
450 } else if (image->isColorSpaceAArray(pdfContext->fPdfDoc)) { in getImageFromObjectCore()
451 SkPdfArray* array = image->getColorSpaceAsArray(pdfContext->fPdfDoc); in getImageFromObjectCore()
561 SkPdfImageDictionary* sMask = obj->SMask(pdfContext->fPdfDoc); in getSmaskFromObject()
660 bool isolatedGroup = tgroup->I(pdfContext->fPdfDoc); in doGroup_before()
691 if (skobj->Resources(pdfContext->fPdfDoc)) { in doXObject_Form()
692 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc); in doXObject_Form()
698 pdfContext->fGraphicsState.fCTM.preConcat(skobj->Matrix(pdfContext->fPdfDoc)); in doXObject_Form()
711 SkRect bbox = skobj->BBox(pdfContext->fPdfDoc); in doXObject_Form()
717 SkPdfTransparencyGroupDictionary* tgroup = skobj->Group(pdfContext->fPdfDoc); in doXObject_Form()
750 if (skobj->Resources(pdfContext->fPdfDoc)) { in doXObject_Pattern()
751 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc); in doXObject_Pattern()
758 skobj->Matrix(pdfContext->fPdfDoc)); in doXObject_Pattern()
766 SkRect bbox = skobj->BBox(pdfContext->fPdfDoc); in doXObject_Pattern()
852 switch (pdfContext->fPdfDoc->mapper()->mapXObjectDictionary(obj)) in doXObject()
861 if (pdfContext->fPdfDoc->mapper()->mapType1PatternDictionary(obj) != in doXObject()
875 if (!skobj || !skobj->isContentsAStream(pdfContext->fPdfDoc)) { in doPage()
881 SkPdfStream* stream = skobj->getContentsAsStream(pdfContext->fPdfDoc); in doPage()
890 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc); in doPage()
911 SkRect bbox = skobj->MediaBox(pdfContext->fPdfDoc); in doPage()
913 SkPdfTransparencyGroupDictionary* tgroup = skobj->Group(pdfContext->fPdfDoc); in doPage()
1029 SkPdfReal* _ty = pdfContext->fPdfDoc->createReal(-ty); in PdfOp_TD()
1034 SkPdfReal* vtx = pdfContext->fPdfDoc->createReal(tx); in PdfOp_TD()
1037 SkPdfReal* vty = pdfContext->fPdfDoc->createReal(ty); in PdfOp_TD()
1082 SkPdfReal* zero = pdfContext->fPdfDoc->createReal(0.0); in PdfOp_T_star()
1083 SkPdfReal* tl = pdfContext->fPdfDoc->createReal(pdfContext->fGraphicsState.fTextLeading); in PdfOp_T_star()
1275 if (pdfContext->fPdfDoc in PdfOp_fillAndStroke()
1287 if (pattern->PaintType(pdfContext->fPdfDoc) == 1) { in PdfOp_fillAndStroke()
1291 int xStep = abs((int)pattern->XStep(pdfContext->fPdfDoc)); in PdfOp_fillAndStroke()
1292 int yStep = abs((int)pattern->YStep(pdfContext->fPdfDoc)); in PdfOp_fillAndStroke()
1468 if (!pdfContext->fGraphicsState.fResources->Font(pdfContext->fPdfDoc)) { in skpdfGraphicsStateApplyFontCore()
1476 = pdfContext->fGraphicsState.fResources->Font(pdfContext->fPdfDoc)->get(fontName); in skpdfGraphicsStateApplyFontCore()
1477 objFont = pdfContext->fPdfDoc->resolveReference(objFont); in skpdfGraphicsStateApplyFontCore()
1478 if (kNone_SkPdfNativeObjectType == pdfContext->fPdfDoc->mapper()->mapFontDictionary(objFont)) { in skpdfGraphicsStateApplyFontCore()
1487 SkPdfFont* skfont = SkPdfFont::fontFromPdfDictionary(pdfContext->fPdfDoc, fd); in skpdfGraphicsStateApplyFontCore()
1631 = pdfContext->fGraphicsState.fResources->ColorSpace(pdfContext->fPdfDoc); in PdfOp_CS_cs()
1634 = colorSpaceResource ? pdfContext->fPdfDoc in PdfOp_CS_cs()
1654 type = pdfContext->fPdfDoc->resolveReference(type); in PdfOp_CS_cs()
1664 prop = pdfContext->fPdfDoc->resolveReference(prop); in PdfOp_CS_cs()
1743 = pdfContext->fGraphicsState.fResources->Pattern(pdfContext->fPdfDoc); in PdfOp_SCN_scn()
1753 pdfContext->fPdfDoc->resolveReference(patternResources->get(name))); in PdfOp_SCN_scn()
2224 if (pdfContext->fPdfDoc->mapper()->mapSoftMaskDictionary(sMask)) { in skpdfGraphicsStateApplySMask_dict()
2226 } else if (pdfContext->fPdfDoc->mapper()->mapSoftMaskImageDictionary(sMask)) { in skpdfGraphicsStateApplySMask_dict()
2244 = pdfContext->fGraphicsState.fResources->ExtGState(pdfContext->fPdfDoc); in skpdfGraphicsStateApplySMask_name()
2253 = pdfContext->fPdfDoc->resolveReference(extGStateDictionary->get(sMask.c_str())); in skpdfGraphicsStateApplySMask_name()
2280 = pdfContext->fGraphicsState.fResources->ExtGState(pdfContext->fPdfDoc); in PdfOp_gs()
2289 = pdfContext->fPdfDoc->resolveReference(extGStateDictionary->get(name)); in PdfOp_gs()
2292 pdfContext->fPdfDoc->mapper()->mapGraphicsStateDictionary(value)) { in PdfOp_gs()
2304 skpdfGraphicsStateApplyLW(pdfContext, gs->LW(pdfContext->fPdfDoc)); in PdfOp_gs()
2308 skpdfGraphicsStateApplyLC(pdfContext, gs->LC(pdfContext->fPdfDoc)); in PdfOp_gs()
2312 skpdfGraphicsStateApplyLJ(pdfContext, gs->LJ(pdfContext->fPdfDoc)); in PdfOp_gs()
2316 skpdfGraphicsStateApplyML(pdfContext, gs->ML(pdfContext->fPdfDoc)); in PdfOp_gs()
2320 skpdfGraphicsStateApplyD(pdfContext, gs->D(pdfContext->fPdfDoc)); in PdfOp_gs()
2324 skpdfGraphicsStateApplyFont(pdfContext, gs->Font(pdfContext->fPdfDoc)); in PdfOp_gs()
2328 if (gs->isBMAName(pdfContext->fPdfDoc)) { in PdfOp_gs()
2329 skpdfGraphicsStateApplyBM_name(pdfContext, gs->getBMAsName(pdfContext->fPdfDoc)); in PdfOp_gs()
2330 } else if (gs->isBMAArray(pdfContext->fPdfDoc)) { in PdfOp_gs()
2331 skpdfGraphicsStateApplyBM_array(pdfContext, gs->getBMAsArray(pdfContext->fPdfDoc)); in PdfOp_gs()
2340 if (gs->isSMaskAName(pdfContext->fPdfDoc)) { in PdfOp_gs()
2341 skpdfGraphicsStateApplySMask_name(pdfContext, gs->getSMaskAsName(pdfContext->fPdfDoc)); in PdfOp_gs()
2342 } else if (gs->isSMaskADictionary(pdfContext->fPdfDoc)) { in PdfOp_gs()
2344 gs->getSMaskAsDictionary(pdfContext->fPdfDoc)); in PdfOp_gs()
2356 skpdfGraphicsStateApply_ca(pdfContext, gs->ca(pdfContext->fPdfDoc)); in PdfOp_gs()
2360 skpdfGraphicsStateApply_CA(pdfContext, gs->CA(pdfContext->fPdfDoc)); in PdfOp_gs()
2364 skpdfGraphicsStateApplyAIS(pdfContext, gs->AIS(pdfContext->fPdfDoc)); in PdfOp_gs()
2511 SkPdfDictionary* xObject = pdfContext->fGraphicsState.fResources->XObject(pdfContext->fPdfDoc); in PdfOp_Do()
2520 value = pdfContext->fPdfDoc->resolveReference(value); in PdfOp_Do()
2769 if (!fPdfDoc) { in renderPage()
2777 SkPdfContext pdfContext(fPdfDoc); in renderPage()
2781 pdfContext.fGraphicsState.fResources = fPdfDoc->pageResources(page); in renderPage()
2794 SkScalar wp = fPdfDoc->MediaBox(page).width(); in renderPage()
2795 SkScalar hp = fPdfDoc->MediaBox(page).height(); in renderPage()
2836 doPage(&pdfContext, canvas, fPdfDoc->page(page)); in renderPage()
2871 :fPdfDoc(doc) { in SkPdfRenderer()
2875 SkDELETE(fPdfDoc); in ~SkPdfRenderer()
2879 SkASSERT(fPdfDoc != NULL); in pages()
2880 return fPdfDoc->pages(); in pages()
2884 SkASSERT(fPdfDoc != NULL); in MediaBox()
2885 return fPdfDoc->MediaBox(page); in MediaBox()
2889 SkASSERT(fPdfDoc != NULL); in bytesUsed()
2890 return fPdfDoc->bytesUsed(); in bytesUsed()