• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2018 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 SkShaderMaskFilter_DEFINED
9 #define SkShaderMaskFilter_DEFINED
10 
11 #include "include/core/SkRefCnt.h"
12 #include "include/core/SkTypes.h"
13 
14 class SkMaskFilter;
15 class SkShader;
16 
17 class SK_API SkShaderMaskFilter {
18 public:
19     static sk_sp<SkMaskFilter> Make(sk_sp<SkShader> shader);
20 
21 private:
22     static void RegisterFlattenables();
23     friend class SkFlattenable;
24 };
25 
26 #endif
27