Lines Matching refs:SkIRect
27 static void scale_irect_roundout(SkIRect* rect, float xScale, float yScale) { in scale_irect_roundout()
34 static void scale_irect(SkIRect* rect, int xScale, int yScale) { in scale_irect()
45 static void shrink_irect_by_2(SkIRect* rect, bool xAxis, bool yAxis) { in shrink_irect_by_2()
75 const SkIRect& dstRect, in convolve_gaussian_1d()
108 const SkIRect& srcBounds, in convolve_gaussian_2d()
155 const SkIRect& srcRect, in convolve_gaussian()
160 SkIRect* contentRect, in convolve_gaussian()
189 SkIRect dstRect = SkIRect::MakeWH(srcRect.width(), srcRect.height()); in convolve_gaussian()
198 SkIRect midRect = *contentRect, leftRect, rightRect; in convolve_gaussian()
200 SkIRect topRect, bottomRect; in convolve_gaussian()
204 topRect = SkIRect::MakeLTRB(0, 0, dstRect.right(), midRect.top()); in convolve_gaussian()
205 bottomRect = SkIRect::MakeLTRB(0, midRect.bottom(), dstRect.right(), dstRect.bottom()); in convolve_gaussian()
207 leftRect = SkIRect::MakeLTRB(0, midRect.top(), midRect.left(), midRect.bottom()); in convolve_gaussian()
209 SkIRect::MakeLTRB(midRect.right(), midRect.top(), dstRect.width(), midRect.bottom()); in convolve_gaussian()
220 topRect = SkIRect::MakeLTRB(0, 0, midRect.left(), dstRect.bottom()); in convolve_gaussian()
221 bottomRect = SkIRect::MakeLTRB(midRect.right(), 0, dstRect.right(), dstRect.bottom()); in convolve_gaussian()
223 leftRect = SkIRect::MakeLTRB(midRect.left(), 0, midRect.right(), midRect.top()); in convolve_gaussian()
225 SkIRect::MakeLTRB(midRect.left(), midRect.bottom(), midRect.right(), dstRect.height()); in convolve_gaussian()
265 SkIRect* contentRect, in decimate()
276 SkIRect srcRect; in decimate()
287 SkIRect dstRect(srcRect); in decimate()
358 SkIRect clearRect = SkIRect::MakeXYWH(contentRect->fRight, contentRect->fTop, in decimate()
366 SkIRect clearRect = SkIRect::MakeXYWH(contentRect->fLeft, contentRect->fBottom, in decimate()
378 const SkIRect& localSrcBounds, in reexpand()
383 const SkIRect srcRect = SkIRect::MakeWH(srcRenderTargetContext->width(), in reexpand()
389 SkIRect clearRect = SkIRect::MakeXYWH(srcRect.fLeft, srcRect.fBottom, srcRect.width() + 1, 1); in reexpand()
391 clearRect = SkIRect::MakeXYWH(srcRect.fRight, srcRect.fTop, 1, srcRect.height()); in reexpand()
441 SkIRect dstRect(srcRect); in reexpand()
455 const SkIRect& dstBounds, in GaussianBlur()
456 const SkIRect& srcBounds, in GaussianBlur()
502 SkIRect localSrcBounds = srcBounds; in GaussianBlur()
515 SkIRect srcRect = finalDestII.bounds(); in GaussianBlur()
528 SkIRect clearRect = SkIRect::MakeXYWH(srcRect.fLeft, srcRect.fBottom, in GaussianBlur()