1/*
2 * Copyright 2012 The Android Open Source Project
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 SkOffsetImageFilter_DEFINED
9#define SkOffsetImageFilter_DEFINED
10
11#include "include/core/SkImageFilter.h"
12
13// DEPRECATED: Use include/effects/SkImageFilters::Offset
14class SK_API SkOffsetImageFilter {
15public:
16 static sk_sp<SkImageFilter> Make(SkScalar dx, SkScalar dy,
17 sk_sp<SkImageFilter> input,
18 const SkImageFilter::CropRect* cropRect = nullptr);
19
20 static void RegisterFlattenables();
21
22private:
23 SkOffsetImageFilter() = delete;
24};
25
26#endif
27