Lines Matching refs:fTop
17 int16_t fLeft, fTop, fRight, fBottom; member
44 int height() const { return fBottom - fTop; } in height()
46 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } in isEmpty()
52 fTop = top; in set()
59 fTop = SkToS16(r.fTop); in set()
66 fTop += dy; 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()
125 if (clippedSrcRect->fTop < 0) { in GrClipSrcRectAndDstPoint()
126 clippedDstPoint->fY -= clippedSrcRect->fTop; in GrClipSrcRectAndDstPoint()
127 clippedSrcRect->fTop = 0; in GrClipSrcRectAndDstPoint()
130 clippedSrcRect->fTop -= clippedDstPoint->fY; in GrClipSrcRectAndDstPoint()
147 clippedSrcRect->fBottom = clippedSrcRect->fTop + dstSize.height() - clippedDstPoint->fY; in GrClipSrcRectAndDstPoint()