1/*
2 * Copyright 2016 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 SkArithmeticImageFilter_DEFINED
9#define SkArithmeticImageFilter_DEFINED
10
11#include "SkImageFilter.h"
12
13class SK_API SkArithmeticImageFilter {
14public:
15    static sk_sp<SkImageFilter> Make(float k1, float k2, float k3, float k4, bool enforcePMColor,
16                                     sk_sp<SkImageFilter> background,
17                                     sk_sp<SkImageFilter> foreground,
18                                     const SkImageFilter::CropRect* cropRect);
19
20    SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP();
21
22private:
23    SkArithmeticImageFilter();  // can't instantiate
24};
25
26#endif
27