Searched refs:shaderRect (Results 1 – 2 of 2) sorted by relevance
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()