aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2016-10-20 13:20:45 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-21 13:05:39 +0000
commit54cfe411c6d77dd2e95e7a1b041cd9fc6b6c2e78 (patch)
treebe1377cec81757ba70f793e2c05159f450bcdb01 /include/effects
parent8f457591e6a21c240fd2fca56a97281b556ce796 (diff)
Remove SkRRectsGaussianEdgeShader
This class is no longer used. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3734 Change-Id: I16634760df6b31c7e97c893b7e2b982cd7b1d1fd Reviewed-on: https://skia-review.googlesource.com/3734 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/effects')
-rw-r--r--include/effects/SkRRectsGaussianEdgeShader.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/effects/SkRRectsGaussianEdgeShader.h b/include/effects/SkRRectsGaussianEdgeShader.h
deleted file mode 100644
index 087e7c25f6..0000000000
--- a/include/effects/SkRRectsGaussianEdgeShader.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright 2016 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkRRectsGaussianEdgeShader_DEFINED
-#define SkRRectsGaussianEdgeShader_DEFINED
-
-#include "SkShader.h"
-
-class SkRRect;
-
-class SK_API SkRRectsGaussianEdgeShader {
-public:
- /** Returns a shader that applies a Gaussian blur depending on distance to the edge
- * of the intersection of two round rects.
- * Currently this is only useable with round rects that have the same radii at
- * all the corners and for which the x & y radii are equal.
- * Raster will draw nothing.
- *
- * The coverage geometry that should be drawn should be no larger than the intersection
- * of the bounding boxes of the two round rects. Ambitious users can omit the center
- * area of the coverage geometry if it is known to be occluded.
- */
- static sk_sp<SkShader> Make(const SkRRect& first,
- const SkRRect& second,
- SkScalar radius, SkScalar unused = 0.0f);
-
- SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
-
-private:
- SkRRectsGaussianEdgeShader(); // can't be instantiated
-};
-
-#endif