blob: b0c269e869145c632c3f4712d0017485dcac502d [file] [log] [blame]
/*
* 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;
// (DEPRECATED) This factory function is deprecated. ShaderMaskFilters will be deleted entirely
// in an upcoming Skia release.
class SK_API SkShaderMaskFilter {
public:
static sk_sp<SkMaskFilter> Make(sk_sp<SkShader> shader);
private:
static void RegisterFlattenables();
friend class SkFlattenable;
};
#endif