diff options
-rw-r--r-- | site/user/api/index.md | 1 | ||||
-rw-r--r-- | site/user/api/skpaint.md | 19 |
2 files changed, 1 insertions, 19 deletions
diff --git a/site/user/api/index.md b/site/user/api/index.md index 146bfb20ec..d54a02ef91 100644 --- a/site/user/api/index.md +++ b/site/user/api/index.md @@ -88,7 +88,6 @@ Here's a partial list of the more important Skia classes: - [SkTileImageFilter](http://skia-doc.commondatastorage.googleapis.com/doxygen/doxygen/html/classSkTileImageFilter.html) - [SkXfermodeImageFilter](http://skia-doc.commondatastorage.googleapis.com/doxygen/doxygen/html/classSkXfermodeImageFilter.html) * [SkMaskFilter](http://skia-doc.commondatastorage.googleapis.com/doxygen/doxygen/html/classSkMaskFilter.html) - - [SkEmbossMaskFilter](http://skia-doc.commondatastorage.googleapis.com/doxygen/doxygen/html/classSkEmbossMaskFilter.html) - [SkTableMaskFilter](http://skia-doc.commondatastorage.googleapis.com/doxygen/doxygen/html/classSkTableMaskFilter.html) * [SkDrawLooper](http://skia-doc.commondatastorage.googleapis.com/doxygen/doxygen/html/classSkDrawLooper.html) - [SkBlurDrawLooper](http://skia-doc.commondatastorage.googleapis.com/doxygen/doxygen/html/classSkBlurDrawLooper.html) diff --git a/site/user/api/skpaint.md b/site/user/api/skpaint.md index 4b4a1070f5..24980343ad 100644 --- a/site/user/api/skpaint.md +++ b/site/user/api/skpaint.md @@ -124,7 +124,7 @@ There are 6 types of effects that can be assigned to a paint: generates an alpha mask (e.g. dashing) * **SkRasterizer** - composing custom mask layers (e.g. shadows) * **SkMaskFilter** - modifications to the alpha mask before it is - colorized and drawn (e.g. blur, emboss) + colorized and drawn (e.g. blur) * **SkShader** - e.g. gradients (linear, radial, sweep), bitmap patterns (clamp, repeat, mirror) * **SkColorFilter** - modify the source color(s) before applying the @@ -374,23 +374,6 @@ SkMaskFilter <a href='https://fiddle.skia.org/c/@skpaint_blur_mask_filter'><img src='https://fiddle.skia.org/i/@skpaint_blur_mask_filter_raster.png'></a> -* Emboss Mask Filter - - <!--?prettify lang=cc?--> - - canvas->drawColor(SK_ColorWHITE); - SkPaint paint; - paint.setAntiAlias(true); - paint.setTextSize(120); - SkScalar direction[3] = {1.0f, 1.0f, 1.0f}; - paint.setMaskFilter(SkBlurMaskFilter::MakeEmboss( - 2.0f, direction, 0.3f, 0.1f)); - const char text[] = "Skia"; - canvas->drawText(text, strlen(text), 0, 160, paint); - - <a href='https://fiddle.skia.org/c/@skpaint_emboss'><img - src='https://fiddle.skia.org/i/@skpaint_emboss_raster.png'></a> - <span id="SkColorFilter"></span> |