aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-06-25 16:30:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-25 20:53:25 +0000
commit81abc43e6f0b1a789e1bf116820c8ede68d778ab (patch)
tree9f2b90781d39851bbb698138e8b8eb1a3b1a16e6 /docs
parent536ad2c146b72eb61f7df47fd88e296f879e6611 (diff)
explicitly include blurimagefilter include
Try explicitly adding to fix the bookmaker nightly bot. R=jcgregorio@google.com,caryclark@google.com Docs-Preview: https://skia.org/?cl=137421 Bug: skia:6898 Change-Id: Iff27845e6872b885b8494e9fc236f4f05c10c301 Reviewed-on: https://skia-review.googlesource.com/137421 Reviewed-by: Cary Clark <caryclark@skia.org> Reviewed-by: Joe Gregorio <jcgregorio@google.com> Commit-Queue: Cary Clark <caryclark@skia.org> Commit-Queue: Joe Gregorio <jcgregorio@google.com> Auto-Submit: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/SkCanvas_Reference.bmh12
-rw-r--r--docs/SkPaint_Reference.bmh10
2 files changed, 22 insertions, 0 deletions
diff --git a/docs/SkCanvas_Reference.bmh b/docs/SkCanvas_Reference.bmh
index c026ffe649..57125d7fb0 100644
--- a/docs/SkCanvas_Reference.bmh
+++ b/docs/SkCanvas_Reference.bmh
@@ -1509,6 +1509,12 @@ Rectangles are blurred by Image_Filter when restore() draws Layer to main
Canvas.
##
#Height 128
+#Function
+###$
+#include "SkBlurImageFilter.h"
+$$$#
+##
+
void draw(SkCanvas* canvas) {
SkPaint paint, blur;
blur.setImageFilter(SkBlurImageFilter::Make(3, 3, nullptr));
@@ -1558,6 +1564,12 @@ The red rectangle is clipped; it does not fully fit on Layer.
Image_Filter blurs past edge of Layer so red rectangle is blurred on all sides.
##
#Height 128
+#Function
+###$
+#include "SkBlurImageFilter.h"
+$$$#
+##
+
void draw(SkCanvas* canvas) {
SkPaint paint, blur;
blur.setImageFilter(SkBlurImageFilter::Make(3, 3, nullptr));
diff --git a/docs/SkPaint_Reference.bmh b/docs/SkPaint_Reference.bmh
index 99873ee72b..21521af798 100644
--- a/docs/SkPaint_Reference.bmh
+++ b/docs/SkPaint_Reference.bmh
@@ -3226,6 +3226,11 @@ Mask_Filter.
#Example
#ToDo explain why the two draws are so different ##
+ #Function
+ ###$
+ #include "SkBlurImageFilter.h"
+ $$$#
+ ##
void draw(SkCanvas* canvas) {
SkPaint paint;
paint.setStyle(SkPaint::kStroke_Style);
@@ -3252,6 +3257,11 @@ Mask_Filter.
#Return Image_Filter if previously set, nullptr otherwise ##
#Example
+ #Function
+ ###$
+ #include "SkBlurImageFilter.h"
+ $$$#
+ ##
void draw(SkCanvas* canvas) {
SkPaint paint;
SkDebugf("nullptr %c= image filter\n", paint.getImageFilter() ? '!' : '=');