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()
69 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsOverlap()
70 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsOverlap()
71 return a.fRight > b.fLeft && a.fBottom > b.fTop && b.fRight > a.fLeft && b.fBottom > a.fTop; in GrRectsOverlap()
78 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsTouchOrOverlap()
79 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsTouchOrOverlap()
80 return a.fRight >= b.fLeft && a.fBottom >= b.fTop && b.fRight >= a.fLeft && b.fBottom >= a.fTop; in GrRectsTouchOrOverlap()
119 if (clippedSrcRect->fTop < 0) { in GrClipSrcRectAndDstPoint()
120 clippedDstPoint->fY -= clippedSrcRect->fTop; in GrClipSrcRectAndDstPoint()
121 clippedSrcRect->fTop = 0; in GrClipSrcRectAndDstPoint()
124 clippedSrcRect->fTop -= clippedDstPoint->fY; in GrClipSrcRectAndDstPoint()
141 clippedSrcRect->fBottom = clippedSrcRect->fTop + dstSize.height() - clippedDstPoint->fY; in GrClipSrcRectAndDstPoint()