• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2021 Google LLC
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 SkCropImageFilter_DEFINED
9 #define SkCropImageFilter_DEFINED
10 
11 #include "include/core/SkRefCnt.h"
12 
13 class SkImageFilter;
14 struct SkRect;
15 
16 // TODO (michaelludwig): Move to SkImageFilters::Crop when ready to expose to the public
17 SK_API sk_sp<SkImageFilter> SkMakeCropImageFilter(const SkRect& rect, sk_sp<SkImageFilter> input);
18 
19 #endif
20