Index: samplecode/SampleEmboss.cpp |
=================================================================== |
--- samplecode/SampleEmboss.cpp (revision 11004) |
+++ samplecode/SampleEmboss.cpp (working copy) |
@@ -53,7 +53,7 @@ |
paint.setAntiAlias(true); |
paint.setStyle(SkPaint::kStroke_Style); |
paint.setStrokeWidth(SkIntToScalar(10)); |
- paint.setMaskFilter(new SkEmbossMaskFilter(fLight, SkIntToScalar(4)))->unref(); |
+ paint.setMaskFilter(new SkEmbossMaskFilter(SkFloatToScalar(2.8094f), fLight))->unref(); |
paint.setShader(new SkColorShader(SK_ColorBLUE))->unref(); |
paint.setDither(true); |