• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2011 The Android Open Source Project
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 SkBlurImageFilter_DEFINED
9 #define SkBlurImageFilter_DEFINED
10 
11 #include "SkImageFilter.h"
12 
13 class SK_API SkBlurImageFilter {
14 public:
15     static sk_sp<SkImageFilter> Make(SkScalar sigmaX, SkScalar sigmaY,
16                                      sk_sp<SkImageFilter> input,
17                                      const SkImageFilter::CropRect* cropRect = nullptr) {
18         return SkImageFilter::MakeBlur(sigmaX, sigmaY, input, cropRect);
19     }
20 };
21 
22 #endif
23