blob: 345910fa9779d8c4b6d601612f946a8e4dfaf71e [file] [log] [blame]
/*
* Copyright 2012 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkColorFilterImageFilter_DEFINED
#define SkColorFilterImageFilter_DEFINED
#include "include/core/SkColorFilter.h"
#include "include/core/SkImageFilter.h"
// DEPRECATED: Use include/effects/SkImageFilters::ColorFilter
class SK_API SkColorFilterImageFilter {
public:
static sk_sp<SkImageFilter> Make(sk_sp<SkColorFilter> cf,
sk_sp<SkImageFilter> input,
const SkImageFilter::CropRect* cropRect = nullptr);
static void RegisterFlattenables();
private:
SkColorFilterImageFilter() = delete;
};
#endif