Lines Matching refs:scale
822 SkScalar scale = kProfileTextureWidth / *textureRadius;
824 bm.getAddr8(0, 0), sigma * scale, circleR * scale, kProfileTextureWidth);
937 // The view matrix may scale, perhaps anisotropically. But we want to apply our device space
939 // to define a space that is purely rotation/translation from device space (and scale from
940 // src space) We'll meet in the middle: pre-scale the src rect to be in this space and then
943 SkSize scale;
944 if (!viewMatrix.decomposeScale(&scale, &m)) {
950 rect = {srcRect.left() * scale.width(),
951 srcRect.top() * scale.height(),
952 srcRect.right() * scale.width(),
953 srcRect.bottom() * scale.height()};
1528 SkSize scale;
1529 if (!viewMatrix.decomposeScale(&scale, nullptr)) {
1532 outsetX /= scale.width();
1533 outsetY /= scale.height();