Home
last modified time | relevance | path

Searched refs:shaderTransform (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/pdf/
DSkPDFShader.cpp273 SkMatrix shaderTransform = as_SB(shader)->getLocalMatrix(); in make_fallback_shader() local
309 shaderTransform.setTranslate(shaderRect.x(), shaderRect.y()); in make_fallback_shader()
310 shaderTransform.preScale(1 / scale.width(), 1 / scale.height()); in make_fallback_shader()
315 SkMatrix::Concat(canvasTransform, shaderTransform), in make_fallback_shader()
349 SkMatrix shaderTransform; in SkPDFMakeShader() local
351 if (SkImage* skimg = shader->isAImage(&shaderTransform, imageTileModes)) { in SkPDFMakeShader()
352 SkMatrix finalMatrix = SkMatrix::Concat(canvasTransform, shaderTransform); in SkPDFMakeShader()
/third_party/flutter/skia/src/pdf/
DSkPDFShader.cpp272 SkMatrix shaderTransform = as_SB(shader)->getLocalMatrix(); in make_fallback_shader() local
308 shaderTransform.setTranslate(shaderRect.x(), shaderRect.y()); in make_fallback_shader()
309 shaderTransform.preScale(1 / scale.width(), 1 / scale.height()); in make_fallback_shader()
314 SkMatrix::Concat(canvasTransform, shaderTransform), in make_fallback_shader()
348 SkMatrix shaderTransform; in SkPDFMakeShader() local
350 if (SkImage* skimg = shader->isAImage(&shaderTransform, imageTileModes)) { in SkPDFMakeShader()
351 SkMatrix finalMatrix = SkMatrix::Concat(canvasTransform, shaderTransform); in SkPDFMakeShader()