Home
last modified time | relevance | path

Searched refs:fCropRect (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/effects/imagefilters/
DSkPictureImageFilter.cpp26 , fCropRect(cropRect) {} in SkPictureImageFilter()
47 SkRect fCropRect; member in __anon0a509f8d0111::SkPictureImageFilter
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()
/external/skia/include/effects/
DSkImageFilters.h40 CropRect() : fCropRect(skif::kNoCropRect) {} in CropRect()
43 CropRect(std::nullptr_t) : fCropRect(skif::kNoCropRect) {} in CropRect()
44 CropRect(const SkIRect& crop) : fCropRect(SkRect::Make(crop)) {} in CropRect()
45 CropRect(const SkRect& crop) : fCropRect(crop) {} in CropRect()
46 CropRect(const SkIRect* optionalCrop) : fCropRect(optionalCrop ? SkRect::Make(*optionalCrop) in CropRect()
48 CropRect(const SkRect* optionalCrop) : fCropRect(optionalCrop ? *optionalCrop in CropRect()
51 … operator const SkRect*() const { return fCropRect == skif::kNoCropRect ? nullptr : &fCropRect; }
53 SkRect fCropRect; member
/external/skia/src/core/
DSkImageFilter_Base.h188 return fCropRect.flags() != 0x0 ? &fCropRect.rect() : nullptr; in cropRect()
196 CropRect fCropRect;
273 bool cropRectIsSet() const { return fCropRect.flags() != 0x0; } in cropRectIsSet()
276 CropRect getCropRect() const { return fCropRect; } in getCropRect()
280 return this->cropRectIsSet() ? &fCropRect : nullptr; in getCropRectIfSet()
453 CropRect fCropRect; variable
DSkImageFilter.cpp154 , fCropRect(cropRect) in SkImageFilter_Base()
203 fCropRect = CropRect(flags ? &rect : nullptr); in unflatten()
216 buffer.writeRect(fCropRect.rect()); in flatten()
217 buffer.writeUInt(fCropRect.flags()); in flatten()
265 mapping.paramToLayer(skif::ParameterSpace<SkRect>(fCropRect.rect())).roundOut(); in getInputBounds()
374 fCropRect.applyTo(tmpDst, ctx.ctm(), this->affectsTransparentBlack(), dstBounds); in applyCropRect()
/external/skqp/src/effects/imagefilters/
DSkPictureImageFilter.cpp33 , fCropRect(fPicture ? fPicture->cullRect() : SkRect::MakeEmpty()) { in SkPictureImageFilter()
40 , fCropRect(cropRect) in SkPictureImageFilter()
82 buffer.writeRect(fCropRect); in flatten()
93 ctx.ctm().mapRect(&floatBounds, fCropRect); in onFilterImage()
138 return sk_sp<SkImageFilter>(new SkPictureImageFilter(fPicture, fCropRect, std::move(dstCS))); in onMakeColorSpace()
/external/skqp/include/core/
DSkImageFilter.h225 bool cropRectIsSet() const { return fCropRect.flags() != 0x0; } in cropRectIsSet()
227 CropRect getCropRect() const { return fCropRect; } in getCropRect()
285 const CropRect& cropRect() const { return fCropRect; } in cropRect()
292 CropRect fCropRect;
313 return this->cropRectIsSet() ? &fCropRect : nullptr; in getCropRectIfSet()
473 CropRect fCropRect; variable
/external/skqp/src/android/
DSkAnimatedImage.cpp70 , fCropRect(cropRect) in SkAnimatedImage()
74 && fCropRect == fDecodeInfo.bounds()) in SkAnimatedImage()
84 fMatrix = SkMatrix::MakeTrans(-fCropRect.fLeft, -fCropRect.fTop); in SkAnimatedImage()
95 return SkRect::MakeIWH(fCropRect.width(), fCropRect.height()); in onGetBounds()
/external/skia/src/android/
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()
/external/skia/gm/
Danimated_image_orientation.cpp43 const SkIRect fCropRect; member in AnimatedImageGM
72 , fCropRect(cropRect) in AnimatedImageGM()
120 SkRect cropRectFloat = SkRect::Make(fCropRect); in onDraw()
/external/skia/include/android/
DSkAnimatedImage.h142 const SkIRect fCropRect; variable
166 && fCropRect == fDecodeInfo.bounds(); } in simple()
/external/skqp/src/core/
DSkImageFilter.cpp105 fCropRect = CropRect(rect, flags); in unflatten()
114 fCropRect = cropRect ? *cropRect : CropRect(SkRect(), 0x0); in init()
140 , fCropRect(SkRect(), 0x0) in SkImageFilter()
157 buffer.writeRect(fCropRect.rect()); in flatten()
158 buffer.writeUInt(fCropRect.flags()); in flatten()
305 fCropRect.applyTo(tmpDst, ctx.ctm(), this->affectsTransparentBlack(), dstBounds); in applyCropRect()
/external/skqp/include/effects/
DSkPictureImageFilter.h48 SkRect fCropRect; variable
/external/skqp/include/android/
DSkAnimatedImage.h130 const SkIRect fCropRect; variable