diff options
Diffstat (limited to 'gfx/skia/skia/src/effects/imagefilters/SkCropImageFilter.h')
-rw-r--r-- | gfx/skia/skia/src/effects/imagefilters/SkCropImageFilter.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gfx/skia/skia/src/effects/imagefilters/SkCropImageFilter.h b/gfx/skia/skia/src/effects/imagefilters/SkCropImageFilter.h new file mode 100644 index 0000000000..8901a677b2 --- /dev/null +++ b/gfx/skia/skia/src/effects/imagefilters/SkCropImageFilter.h @@ -0,0 +1,20 @@ +/* + * Copyright 2021 Google LLC + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef SkCropImageFilter_DEFINED +#define SkCropImageFilter_DEFINED + +#include "include/core/SkRefCnt.h" +#include "include/core/SkTypes.h" + +class SkImageFilter; +struct SkRect; + +// TODO (michaelludwig): Move to SkImageFilters::Crop when ready to expose to the public +SK_API sk_sp<SkImageFilter> SkMakeCropImageFilter(const SkRect& rect, sk_sp<SkImageFilter> input); + +#endif |