blob: 84937967bfdab81ef078ec5da18644eea1eaeb6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkShaderMaskFilter_DEFINED
#define SkShaderMaskFilter_DEFINED
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"
class SkMaskFilter;
class SkShader;
class SK_API SkShaderMaskFilter {
public:
static sk_sp<SkMaskFilter> Make(sk_sp<SkShader> shader);
private:
static void RegisterFlattenables();
friend class SkFlattenable;
};
#endif
|