Debian Codegraph @

include/effects/SkShaderMaskFilter.h

raw
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 // (DEPRECATED) This factory function is deprecated. ShaderMaskFilters will be deleted entirely
18 // in an upcoming Skia release.
19 class SK_API SkShaderMaskFilter {
20 public:
21 static sk_sp<SkMaskFilter> Make(sk_sp<SkShader> shader);
22
23 private:
24 static void RegisterFlattenables();
25 friend class SkFlattenable;
26 };
27
28 #endif