Skia
2DGraphicsLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkAlphaThresholdFilter.h
1 /*
2  * Copyright 2013 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #ifndef SkAlphaThresholdFilter_DEFINED
9 #define SkAlphaThresholdFilter_DEFINED
10 
11 #include "SkImageFilter.h"
12 
13 class SkRegion;
14 
15 class SK_API SkAlphaThresholdFilter {
16 public:
24  static sk_sp<SkImageFilter> Make(const SkRegion& region, SkScalar innerMin,
25  SkScalar outerMax, sk_sp<SkImageFilter> input,
26  const SkImageFilter::CropRect* cropRect = nullptr);
27 
28 
29  SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP();
30 };
31 
32 #endif
Definition: SkImageFilter.h:76
The SkRegion class encapsulates the geometric region used to specify clipping areas for drawing...
Definition: SkRegion.h:30
Definition: SkAlphaThresholdFilter.h:15