Home
last modified time | relevance | path

Searched refs:pdfShader (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/pdf/
DSkPDFCanon.cpp88 void SkPDFCanon::addFunctionShader(SkPDFFunctionShader* pdfShader) { in addFunctionShader() argument
89 fFunctionShaderRecords.push(SkRef(pdfShader)); in addFunctionShader()
98 void SkPDFCanon::addAlphaShader(SkPDFAlphaFunctionShader* pdfShader) { in addAlphaShader() argument
99 fAlphaShaderRecords.push(SkRef(pdfShader)); in addAlphaShader()
109 void SkPDFCanon::addImageShader(SkPDFImageShader* pdfShader) { in addImageShader() argument
110 fImageShaderRecords.push(SkRef(pdfShader)); in addImageShader()
DSkPDFShader.cpp802 SkAutoTUnref<SkPDFDict> pdfShader(new SkPDFDict); in Create() local
803 pdfShader->insertInt("ShadingType", 1); in Create()
804 pdfShader->insertName("ColorSpace", "DeviceRGB"); in Create()
805 pdfShader->insertObject("Domain", SkRef(domain.get())); in Create()
809 pdfShader->insertObjRef("Function", function.detach()); in Create()
816 pdfFunctionShader->insertObject("Shading", pdfShader.detach()); in Create()
DSkPDFDevice.cpp2083 SkAutoTUnref<SkPDFObject> pdfShader; in populateGraphicStateEntryFromPaint() local
2105 pdfShader.reset(SkPDFShader::GetPDFShader( in populateGraphicStateEntryFromPaint()
2108 if (pdfShader.get()) { in populateGraphicStateEntryFromPaint()
2111 int resourceIndex = fShaderResources.find(pdfShader.get()); in populateGraphicStateEntryFromPaint()
2114 fShaderResources.push(pdfShader.get()); in populateGraphicStateEntryFromPaint()
2115 pdfShader.get()->ref(); in populateGraphicStateEntryFromPaint()