Home
last modified time | relevance | path

Searched refs:fCropRect (Results 1 - 8 of 8) sorted by relevance

/third_party/skia/src/effects/imagefilters/
H A DSkPictureImageFilter.cpp26 , fCropRect(cropRect) {} in SkPictureImageFilter()
47 SkRect fCropRect; member in __anon18772::final
82 buffer.writeRect(fCropRect); in flatten()
94 ctx.ctm().mapRect(&floatBounds, fCropRect); in onFilterImage()
127 return fCropRect; in computeFastBounds()
137 SkRect dstRect = fCropRect; in onFilterNodeBounds()
H A DSkCropImageFilter.cpp20 , fCropRect(cropRect) { in SkCropImageFilter()
53 return mapping.paramToLayer(fCropRect).round(); in cropRect()
56 skif::ParameterSpace<SkRect> fCropRect; member in __anon18755::final
83 buffer.writeRect(SkRect(fCropRect)); in flatten()
155 // with an identity skif::Mapping (hence why fCropRect can be used directly), but it also does in computeFastBounds()
166 return SkRect(fCropRect); in computeFastBounds()
170 if (!inputBounds.intersect(SkRect(fCropRect))) { in computeFastBounds()
/third_party/skia/include/effects/
H A DSkImageFilters.h41 CropRect() : fCropRect(skif::kNoCropRect) {} in CropRect()
44 CropRect(std::nullptr_t) : fCropRect(skif::kNoCropRect) {} in CropRect()
45 CropRect(const SkIRect& crop) : fCropRect(SkRect::Make(crop)) {} in CropRect()
46 CropRect(const SkRect& crop) : fCropRect(crop) {} in CropRect()
47 CropRect(const SkIRect* optionalCrop) : fCropRect(optionalCrop ? SkRect::Make(*optionalCrop) in CropRect()
49 CropRect(const SkRect* optionalCrop) : fCropRect(optionalCrop ? *optionalCrop in CropRect()
52 operator const SkRect*() const { return fCropRect == skif::kNoCropRect ? nullptr : &fCropRect; } in operator const SkRect*()
54 SkRect fCropRect; member
/third_party/skia/src/core/
H A DSkImageFilter_Base.h179 return fCropRect.flags() != 0x0 ? &fCropRect.rect() : nullptr; in cropRect()
187 CropRect fCropRect; member in SkImageFilter_Base::Common
257 bool cropRectIsSet() const { return fCropRect.flags() != 0x0; } in cropRectIsSet()
260 CropRect getCropRect() const { return fCropRect; } in getCropRect()
264 return this->cropRectIsSet() ? &fCropRect : nullptr; in getCropRectIfSet()
433 CropRect fCropRect; member in SkImageFilter_Base::VisitChildren
H A DSkImageFilter.cpp156 , fCropRect(cropRect) in SkImageFilter_Base()
205 fCropRect = CropRect(flags ? &rect : nullptr); in unflatten()
218 buffer.writeRect(fCropRect.rect()); in flatten()
219 buffer.writeUInt(fCropRect.flags()); in flatten()
267 mapping.paramToLayer(skif::ParameterSpace<SkRect>(fCropRect.rect())).roundOut(); in getInputBounds()
381 fCropRect.applyTo(tmpDst, ctx.ctm(), this->onAffectsTransparentBlack(), dstBounds); in applyCropRect()
/third_party/skia/src/android/
H A DSkAnimatedImage.cpp60 , fCropRect(cropRect) in SkAnimatedImage()
101 fMatrix.postConcat(SkMatrix::Translate(-fCropRect.fLeft, -fCropRect.fTop)); in SkAnimatedImage()
108 return SkRect::MakeIWH(fCropRect.width(), fCropRect.height()); in onGetBounds()
373 auto imageInfo = fDisplayFrame.fBitmap.info().makeDimensions(fCropRect.size()); in getCurrentFrame()
/third_party/skia/gm/
H A Danimated_image_orientation.cpp43 const SkIRect fCropRect; member in AnimatedImageGM
72 , fCropRect(cropRect) in AnimatedImageGM()
120 SkRect cropRectFloat = SkRect::Make(fCropRect);
/third_party/skia/include/android/
H A DSkAnimatedImage.h142 const SkIRect fCropRect; member in SkAnimatedImage
166 && fCropRect == fDecodeInfo.bounds(); } in simple()

Completed in 10 milliseconds