aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-04-18 10:05:00 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-19 17:21:44 +0000
commitab4f5bde7f66c461ae64e7e4b70810e87f3a863a (patch)
tree64e28e9a5c9a4275fe859cdf989c42444f987df1 /include/effects
parentcd01a020b58332c1f4381886876758151e2b96e9 (diff)
rm SkRRectsGaussianEdgeMaskFilter
Neat but unused. Change-Id: I1b2d160df274b05cfb5582a5385085cc2db89f7d Reviewed-on: https://skia-review.googlesource.com/121960 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/effects')
-rw-r--r--include/effects/SkRRectsGaussianEdgeMaskFilter.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/effects/SkRRectsGaussianEdgeMaskFilter.h b/include/effects/SkRRectsGaussianEdgeMaskFilter.h
deleted file mode 100644
index cd7effc118..0000000000
--- a/include/effects/SkRRectsGaussianEdgeMaskFilter.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 SkRRectsGaussianEdgeMaskFilter_DEFINED
-#define SkRRectsGaussianEdgeMaskFilter_DEFINED
-
-#include "SkMaskFilter.h"
-#include "SkScalar.h"
-
-class SkRRect;
-
-class SK_API SkRRectsGaussianEdgeMaskFilter {
-public:
- /** Returns a mask filter 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.
- *
- * In order to minimize fill 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<SkMaskFilter> Make(const SkRRect& first,
- const SkRRect& second,
- SkScalar radius);
-
- SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
-
-private:
- SkRRectsGaussianEdgeMaskFilter(); // can't be instantiated
-};
-
-#endif