diff options
Diffstat (limited to 'gfx/skia/skia/include/effects/SkShaderMaskFilter.h')
-rw-r--r-- | gfx/skia/skia/include/effects/SkShaderMaskFilter.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gfx/skia/skia/include/effects/SkShaderMaskFilter.h b/gfx/skia/skia/include/effects/SkShaderMaskFilter.h new file mode 100644 index 0000000000..84937967bf --- /dev/null +++ b/gfx/skia/skia/include/effects/SkShaderMaskFilter.h @@ -0,0 +1,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 |