Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/pdf/
DSkPDFShader.cpp278 SkRect shaderRect = SkRect::Make(surfaceBBox); in make_fallback_shader() local
279 if (!SkPDFUtils::InverseTransformBBox(canvasTransform, &shaderRect)) { in make_fallback_shader()
293 SkSize scale = {SkIntToScalar(size.width()) / shaderRect.width(), in make_fallback_shader()
294 SkIntToScalar(size.height()) / shaderRect.height()}; in make_fallback_shader()
305 canvas->translate(-shaderRect.x(), -shaderRect.y()); in make_fallback_shader()
308 shaderTransform.setTranslate(shaderRect.x(), shaderRect.y()); in make_fallback_shader()
/third_party/skia/src/pdf/
DSkPDFShader.cpp279 SkRect shaderRect = SkRect::Make(surfaceBBox); in make_fallback_shader() local
280 if (!SkPDFUtils::InverseTransformBBox(canvasTransform, &shaderRect)) { in make_fallback_shader()
294 SkSize scale = {SkIntToScalar(size.width()) / shaderRect.width(), in make_fallback_shader()
295 SkIntToScalar(size.height()) / shaderRect.height()}; in make_fallback_shader()
306 canvas->translate(-shaderRect.x(), -shaderRect.y()); in make_fallback_shader()
309 shaderTransform.setTranslate(shaderRect.x(), shaderRect.y()); in make_fallback_shader()