Home | History | Annotate | Download | only in src

Lines Matching refs:fPdfDoc

437     int bpc = (int)image->BitsPerComponent(pdfContext->fPdfDoc);
438 int width = (int)image->Width(pdfContext->fPdfDoc);
439 int height = (int)image->Height(pdfContext->fPdfDoc);
446 if (image->isColorSpaceAName(pdfContext->fPdfDoc)) {
447 colorSpace = image->getColorSpaceAsName(pdfContext->fPdfDoc);
448 } else if (image->isColorSpaceAArray(pdfContext->fPdfDoc)) {
449 SkPdfArray* array = image->getColorSpaceAsArray(pdfContext->fPdfDoc);
559 SkPdfImageDictionary* sMask = obj->SMask(pdfContext->fPdfDoc);
658 bool isolatedGroup = tgroup->I(pdfContext->fPdfDoc);
659 // bool knockoutGroup = tgroup->K(pdfContext->fPdfDoc);
689 if (skobj->Resources(pdfContext->fPdfDoc)) {
690 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc);
696 pdfContext->fGraphicsState.fCTM.preConcat(skobj->Matrix(pdfContext->fPdfDoc));
709 SkRect bbox = skobj->BBox(pdfContext->fPdfDoc);
715 SkPdfTransparencyGroupDictionary* tgroup = skobj->Group(pdfContext->fPdfDoc);
748 if (skobj->Resources(pdfContext->fPdfDoc)) {
749 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc);
756 skobj->Matrix(pdfContext->fPdfDoc));
764 SkRect bbox = skobj->BBox(pdfContext->fPdfDoc);
850 switch (pdfContext->fPdfDoc->mapper()->mapXObjectDictionary(obj))
859 if (pdfContext->fPdfDoc->mapper()->mapType1PatternDictionary(obj) !=
873 if (!skobj || !skobj->isContentsAStream(pdfContext->fPdfDoc)) {
879 SkPdfStream* stream = skobj->getContentsAsStream(pdfContext->fPdfDoc);
888 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc);
909 SkRect bbox = skobj->MediaBox(pdfContext->fPdfDoc);
911 SkPdfTransparencyGroupDictionary* tgroup = skobj->Group(pdfContext->fPdfDoc);
1027 SkPdfReal* _ty = pdfContext->fPdfDoc->createReal(-ty);
1032 SkPdfReal* vtx = pdfContext->fPdfDoc->createReal(tx);
1035 SkPdfReal* vty = pdfContext->fPdfDoc->createReal(ty);
1080 SkPdfReal* zero = pdfContext->fPdfDoc->createReal(0.0);
1081 SkPdfReal* tl = pdfContext->fPdfDoc->createReal(pdfContext->fGraphicsState.fTextLeading);
1273 if (pdfContext->fPdfDoc
1285 if (pattern->PaintType(pdfContext->fPdfDoc) == 1) {
1289 fPdfDoc));
1290 int yStep = abs((int)pattern->YStep(pdfContext->fPdfDoc));
1466 if (!pdfContext->fGraphicsState.fResources->Font(pdfContext->fPdfDoc)) {
1474 = pdfContext->fGraphicsState.fResources->Font(pdfContext->fPdfDoc)->get(fontName);
1475 objFont = pdfContext->fPdfDoc->resolveReference(objFont);
1476 if (kNone_SkPdfNativeObjectType == pdfContext->fPdfDoc->mapper()->mapFontDictionary(objFont)) {
1485 SkPdfFont* skfont = SkPdfFont::fontFromPdfDictionary(pdfContext->fPdfDoc, fd);
1629 = pdfContext->fGraphicsState.fResources->ColorSpace(pdfContext->fPdfDoc);
1632 = colorSpaceResource ? pdfContext->fPdfDoc
1652 type = pdfContext->fPdfDoc->resolveReference(type);
1662 prop = pdfContext->fPdfDoc->resolveReference(prop);
1741 = pdfContext->fGraphicsState.fResources->Pattern(pdfContext->fPdfDoc);
1751 pdfContext->fPdfDoc->resolveReference(patternResources->get(name)));
2222 if (pdfContext->fPdfDoc->mapper()->mapSoftMaskDictionary(sMask)) {
2224 } else if (pdfContext->fPdfDoc->mapper()->mapSoftMaskImageDictionary(sMask)) {
2242 = pdfContext->fGraphicsState.fResources->ExtGState(pdfContext->fPdfDoc);
2251 = pdfContext->fPdfDoc->resolveReference(extGStateDictionary->get(sMask.c_str()));
2278 = pdfContext->fGraphicsState.fResources->ExtGState(pdfContext->fPdfDoc);
2287 = pdfContext->fPdfDoc->resolveReference(extGStateDictionary->get(name));
2290 pdfContext->fPdfDoc->mapper()->mapGraphicsStateDictionary(value)) {
2302 skpdfGraphicsStateApplyLW(pdfContext, gs->LW(pdfContext->fPdfDoc));
2306 skpdfGraphicsStateApplyLC(pdfContext, gs->LC(pdfContext->fPdfDoc));
2310 skpdfGraphicsStateApplyLJ(pdfContext, gs->LJ(pdfContext->fPdfDoc));
2314 skpdfGraphicsStateApplyML(pdfContext, gs->ML(pdfContext->fPdfDoc));
2318 skpdfGraphicsStateApplyD(pdfContext, gs->D(pdfContext->fPdfDoc));
2322 skpdfGraphicsStateApplyFont(pdfContext, gs->Font(pdfContext->fPdfDoc));
2326 if (gs->isBMAName(pdfContext->fPdfDoc)) {
2327 skpdfGraphicsStateApplyBM_name(pdfContext, gs->getBMAsName(pdfContext->fPdfDoc));
2328 } else if (gs->isBMAArray(pdfContext->fPdfDoc)) {
2329 skpdfGraphicsStateApplyBM_array(pdfContext, gs->getBMAsArray(pdfContext->fPdfDoc));
2338 if (gs->isSMaskAName(pdfContext->fPdfDoc)) {
2339 skpdfGraphicsStateApplySMask_name(pdfContext, gs->getSMaskAsName(pdfContext->fPdfDoc));
2340 } else if (gs->isSMaskADictionary(pdfContext->fPdfDoc)) {
2342 gs->getSMaskAsDictionary(pdfContext->fPdfDoc));
2354 skpdfGraphicsStateApply_ca(pdfContext, gs->ca(pdfContext->fPdfDoc));
2358 skpdfGraphicsStateApply_CA(pdfContext, gs->CA(pdfContext->fPdfDoc));
2362 skpdfGraphicsStateApplyAIS(pdfContext, gs->AIS(pdfContext->fPdfDoc));
2509 SkPdfDictionary* xObject = pdfContext->fGraphicsState.fResources->XObject(pdfContext->fPdfDoc);
2518 value = pdfContext->fPdfDoc->resolveReference(value);
2767 if (!fPdfDoc) {
2775 SkPdfContext pdfContext(fPdfDoc);
2779 pdfContext.fGraphicsState.fResources = fPdfDoc->pageResources(page);
2792 SkScalar wp = fPdfDoc->MediaBox(page).width();
2793 SkScalar hp = fPdfDoc->MediaBox(page).height();
2834 doPage(&pdfContext, canvas, fPdfDoc->page(page));
2869 :fPdfDoc(doc) {
2873 SkDELETE(fPdfDoc);
2877 SkASSERT(fPdfDoc != NULL);
2878 return fPdfDoc->pages();
2882 SkASSERT(fPdfDoc != NULL);
2883 return fPdfDoc->MediaBox(page);
2887 SkASSERT(fPdfDoc != NULL);
2888 return fPdfDoc->bytesUsed();