Lines Matching refs:rect
59 void SkBlitter::blitFatAntiRect(const SkRect& rect) {
60 SkIRect bounds = rect.roundOut();
64 // To ensure consistency of the threaded backend (a rect that's considered fat in the init-once
68 // This also implies that we cannot do vertical tiling unless we can blit any rect (not just the
84 SkScalar partialL = bounds.fLeft + 1 - rect.fLeft;
85 SkScalar partialR = rect.fRight - (bounds.fRight - 1);
86 SkScalar partialT = bounds.fTop + 1 - rect.fTop;
87 SkScalar partialB = rect.fBottom - (bounds.fBottom - 1);
90 partialT = rect.fBottom - rect.fTop;
284 const SkIRect& cr = clipper.rect();
290 void SkBlitter::blitRectRegion(const SkIRect& rect, const SkRegion& clip) {
291 SkRegion::Cliperator clipper(clip, rect);
294 const SkIRect& cr = clipper.rect();
343 static inline bool y_in_rect(int y, const SkIRect& rect) {
344 return (unsigned)(y - rect.fTop) < (unsigned)rect.height();
347 static inline bool x_in_rect(int x, const SkIRect& rect) {
348 return (unsigned)(x - rect.fLeft) < (unsigned)rect.width();
542 const SkIRect& r = iter.rect();
557 const SkIRect& r = iter.rect();
574 const SkIRect& r = iter.rect();
607 const SkIRect& r = iter.rect();