Searched refs:pdfShader (Results 1 – 3 of 3) sorted by relevance
88 void SkPDFCanon::addFunctionShader(SkPDFFunctionShader* pdfShader) { in addFunctionShader() argument89 fFunctionShaderRecords.push(SkRef(pdfShader)); in addFunctionShader()98 void SkPDFCanon::addAlphaShader(SkPDFAlphaFunctionShader* pdfShader) { in addAlphaShader() argument99 fAlphaShaderRecords.push(SkRef(pdfShader)); in addAlphaShader()109 void SkPDFCanon::addImageShader(SkPDFImageShader* pdfShader) { in addImageShader() argument110 fImageShaderRecords.push(SkRef(pdfShader)); in addImageShader()
802 SkAutoTUnref<SkPDFDict> pdfShader(new SkPDFDict); in Create() local803 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()
2083 SkAutoTUnref<SkPDFObject> pdfShader; in populateGraphicStateEntryFromPaint() local2105 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()