Home
last modified time | relevance | path

Searched refs:cropped (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/src/core/
H A DSkImageFilter.cpp343 bool embiggen, SkIRect* cropped) const { in applyTo()
344 *cropped = imageBounds; in applyTo()
352 if (embiggen || devICropR.fLeft > cropped->fLeft) { in applyTo()
353 cropped->fLeft = devICropR.fLeft; in applyTo()
356 devICropR.fRight = Sk32_sat_add(cropped->fLeft, devICropR.width()); in applyTo()
359 if (embiggen || devICropR.fTop > cropped->fTop) { in applyTo()
360 cropped->fTop = devICropR.fTop; in applyTo()
363 devICropR.fBottom = Sk32_sat_add(cropped->fTop, devICropR.height()); in applyTo()
366 if (embiggen || devICropR.fRight < cropped->fRight) { in applyTo()
367 cropped in applyTo()
[all...]
H A DSkImageFilter_Base.h155 * Note: imageBounds is in "device" space, as the output cropped rectangle will be, so the
159 SkIRect* cropped) const;
/third_party/skia/gm/
H A Dxfermodeimagefilter.cpp166 sk_sp<SkImageFilter> cropped(SkImageFilters::Offset(0, 0, foreground, &cropRect));
167 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kScreen, cropped, background));
175 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kScreen, background, cropped));
186 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kSrcIn, background, cropped,
/third_party/skia/bench/
H A DBlurImageFilterBench.cpp27 // When 'cropped' is set we apply a cropRect to the blurImageFilter. The crop rect is an inset of
63 BlurImageFilterBench(SkScalar sigmaX, SkScalar sigmaY, bool small, bool cropped, in BlurImageFilterBench() argument
66 , fIsCropped(cropped) in BlurImageFilterBench()

Completed in 4 milliseconds