Lines Matching refs:fLeft
17 int16_t fLeft, fTop, fRight, fBottom; member
43 int width() const { return fRight - fLeft; } in width()
46 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } in isEmpty()
51 fLeft = left; in set()
58 fLeft = SkToS16(r.fLeft); in set()
65 fLeft += dx; in offset()
76 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsOverlap()
77 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsOverlap()
78 return a.fRight > b.fLeft && a.fBottom > b.fTop && b.fRight > a.fLeft && b.fBottom > a.fTop; in GrRectsOverlap()
85 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsTouchOrOverlap()
86 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsTouchOrOverlap()
87 return a.fRight >= b.fLeft && a.fBottom >= b.fTop && b.fRight >= a.fLeft && b.fBottom >= a.fTop; in GrRectsTouchOrOverlap()
115 if (clippedSrcRect->fLeft < 0) { in GrClipSrcRectAndDstPoint()
116 clippedDstPoint->fX -= clippedSrcRect->fLeft; in GrClipSrcRectAndDstPoint()
117 clippedSrcRect->fLeft = 0; in GrClipSrcRectAndDstPoint()
120 clippedSrcRect->fLeft -= clippedDstPoint->fX; in GrClipSrcRectAndDstPoint()
139 clippedSrcRect->fRight = clippedSrcRect->fLeft + dstSize.width() - clippedDstPoint->fX; in GrClipSrcRectAndDstPoint()