Switch default for SkGaussianBlurShader radius size.
One step towards removing the 6.2 radius entirely.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2333403002
TBR=bsalomon@google.com
Review-Url: https://codereview.chromium.org/2333403002
diff --git a/samplecode/SampleAndroidShadows.cpp b/samplecode/SampleAndroidShadows.cpp
index e14c571..cfb76d0 100755
--- a/samplecode/SampleAndroidShadows.cpp
+++ b/samplecode/SampleAndroidShadows.cpp
@@ -199,7 +199,7 @@
paint.setColor(SkColorSetARGB(alpha, iRadius >> 8, iRadius & 0xff,
(unsigned char)(4.0f*pad)));
- paint.setShader(SkGaussianEdgeShader::Make(true));
+ paint.setShader(SkGaussianEdgeShader::Make());
canvas->drawRRect(pathRRect, paint);
}
@@ -320,7 +320,7 @@
paint.setStyle(SkPaint::kStroke_Style);
paint.setStrokeWidth(strokeWidth);
}
- paint.setShader(SkGaussianEdgeShader::Make(true));
+ paint.setShader(SkGaussianEdgeShader::Make());
// handle scale of radius due to CTM
radius *= scaleFactors[0];
// don't need to scale pad as it was computed from the transformed offset