Searched refs:shaderRect (Results 1 – 2 of 2) sorted by relevance
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()
282 SkRect shaderRect = SkRect::Make(surfaceBBox); in make_fallback_shader() local283 if (!SkPDFUtils::InverseTransformBBox(canvasTransform, &shaderRect)) { in make_fallback_shader()296 SkSize scale = {SkIntToScalar(size.width()) / shaderRect.width(), in make_fallback_shader()297 SkIntToScalar(size.height()) / shaderRect.height()}; in make_fallback_shader()308 canvas->translate(-shaderRect.x(), -shaderRect.y()); in make_fallback_shader()311 key.fShaderTransform.setTranslate(shaderRect.x(), shaderRect.y()); in make_fallback_shader()