Searched refs:pdfShader (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/pdf/ |
D | SkPDFGradientShader.cpp | 620 auto pdfShader = sk_make_sp<SkPDFDict>(); in make_function_shader() local 626 pdfShader->insertObject("Function", gradientStitchCode(info)); in make_function_shader() 633 pdfShader->insertObject("Extend", std::move(extend)); in make_function_shader() 674 pdfShader->insertObject("Coords", std::move(coords)); in make_function_shader() 764 pdfShader->insertObject("Domain", domain); in make_function_shader() 770 pdfShader->insertObjRef("Function", in make_function_shader() 775 pdfShader->insertInt("ShadingType", shadingType); in make_function_shader() 776 pdfShader->insertName("ColorSpace", "DeviceRGB"); in make_function_shader() 781 pdfFunctionShader->insertObject("Shading", std::move(pdfShader)); in make_function_shader() 932 sk_sp<SkPDFObject> pdfShader; in find_pdf_shader() local [all …]
|
D | SkPDFShader.cpp | 339 sk_sp<SkPDFObject> pdfShader = make_image_shader(doc, key, skimg); in SkPDFMakeShader() local 340 canon->fImageShaderMap.set(std::move(key), pdfShader); in SkPDFMakeShader() 341 return pdfShader; in SkPDFMakeShader()
|
D | SkPDFDevice.cpp | 2153 sk_sp<SkPDFObject> pdfShader; in populateGraphicStateEntryFromPaint() local 2183 pdfShader = SkPDFMakeShader(fDocument, shader, transform, bounds); in populateGraphicStateEntryFromPaint() 2185 if (pdfShader.get()) { in populateGraphicStateEntryFromPaint() 2188 int resourceIndex = fShaderResources.find(pdfShader.get()); in populateGraphicStateEntryFromPaint() 2191 fShaderResources.push(pdfShader.get()); in populateGraphicStateEntryFromPaint() 2192 pdfShader.get()->ref(); in populateGraphicStateEntryFromPaint()
|