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/SkMaskFilter.h"
12
13class SkShader;
14
15class SK_API SkShaderMaskFilter {
16public:
17 static sk_sp<SkMaskFilter> Make(sk_sp<SkShader> shader);
18
19private:
20 static void RegisterFlattenables();
21 friend class SkFlattenable;
22};
23
24#endif
25