• 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 #include "include/core/SkTypes.h"
13 
14 class SkImageFilter;
15 struct SkRect;
16 
17 // TODO (michaelludwig): Move to SkImageFilters::Crop when ready to expose to the public
18 SK_API sk_sp<SkImageFilter> SkMakeCropImageFilter(const SkRect& rect, sk_sp<SkImageFilter> input);
19 
20 #endif
21