Searched refs:shaderRect (Results 1 – 2 of 2) sorted by relevance
278 SkRect shaderRect = SkRect::Make(surfaceBBox); in make_fallback_shader() local279 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()
279 SkRect shaderRect = SkRect::Make(surfaceBBox); in make_fallback_shader() local280 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()