Lines Matching refs:fRight

21     int32_t fLeft, fTop, fRight, fBottom;  member
61 int right() const { return fRight; } in right()
72 int width() const { return fRight - fLeft; } in width()
89 int centerX() const { return (fRight + fLeft) >> 1; } in centerX()
103 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } in isEmpty()
107 SK_MaxS32 == fRight && in isLargest()
120 SkIsS16(fRight) && SkIsS16(fBottom); in is16Bit()
130 fRight = right; in set()
141 fRight = x + width; in setXYWH()
150 fRight = fBottom = SK_MaxS32; in setLargest()
159 fRight = fBottom = SK_MinS32; in setLargestInverted()
166 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset()
173 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset()
180 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset()
189 fRight += dx; in offset()
201 fRight += newX - fLeft; in offsetTo()
214 fRight -= dx; in inset()
226 return l >= fRight || fLeft >= r || t >= fBottom || fTop >= b; in quickReject()
235 return (unsigned)(x - fLeft) < (unsigned)(fRight - fLeft) && in contains()
245 fRight >= right && fBottom >= bottom; in contains()
253 fRight >= r.fRight && fBottom >= r.fBottom; in contains()
268 SkASSERT(fLeft < fRight && fTop < fBottom); in containsNoEmptyCheck()
272 fRight >= right && fBottom >= bottom; in containsNoEmptyCheck()
276 return containsNoEmptyCheck(r.fLeft, r.fTop, r.fRight, r.fBottom); in containsNoEmptyCheck()
284 return this->intersect(r.fLeft, r.fTop, r.fRight, r.fBottom); in intersect()
294 a.fLeft < b.fRight && b.fLeft < a.fRight && in intersect()
298 fRight = SkMin32(a.fRight, b.fRight); in intersect()
314 if (a.fLeft < b.fRight && b.fLeft < a.fRight && in intersectNoEmptyCheck()
318 fRight = SkMin32(a.fRight, b.fRight); in intersectNoEmptyCheck()
333 fLeft < right && left < fRight && fTop < bottom && top < fBottom) { in intersect()
336 if (fRight > right) fRight = right; in intersect()
347 a.fLeft < b.fRight && b.fLeft < a.fRight && in Intersects()
357 return a.fLeft < b.fRight && b.fLeft < a.fRight && in IntersectsNoEmptyCheck()
372 this->join(r.fLeft, r.fTop, r.fRight, r.fBottom); in join()
391 SkScalar fLeft, fTop, fRight, fBottom; member
440 SkIntToScalar(irect.fRight), in MakeFromIRect()
449 SkIntToScalar(irect.fRight), in Make()
457 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } in isEmpty()
461 SK_ScalarMax == fRight && in isLargest()
473 accum *= fRight; in isFinite()
488 SkScalar right() const { return fRight; } in right()
490 SkScalar width() const { return fRight - fLeft; } in width()
492 SkScalar centerX() const { return SkScalarHalf(fLeft + fRight); } in centerX()
515 fRight = SkIntToScalar(src.fRight); in set()
522 fRight = right; in set()
536 fRight = SkIntToScalar(right); in iset()
546 fRight = SkIntToScalar(width); in isetWH()
575 fRight = SkMaxScalar(p0.fX, p1.fX); in set()
583 fRight = x + width; in setXYWH()
590 fRight = width; in setWH()
599 fRight = fBottom = SK_ScalarMax; in setLargest()
608 fRight = fBottom = SK_ScalarMin; in setLargestInverted()
615 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset()
622 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset()
629 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset()
638 fRight += dx; in offset()
650 fRight += newX - fLeft; in offsetTo()
664 fRight -= dx; in inset()
713 return Intersects(fLeft, fTop, fRight, fBottom, left, top, right, bottom); in intersects()
717 return Intersects(fLeft, fTop, fRight, fBottom, in intersects()
718 r.fLeft, r.fTop, r.fRight, r.fBottom); in intersects()
725 return Intersects(a.fLeft, a.fTop, a.fRight, a.fBottom, in Intersects()
726 b.fLeft, b.fTop, b.fRight, b.fBottom); in Intersects()
741 this->join(r.fLeft, r.fTop, r.fRight, r.fBottom); in join()
747 if (fLeft >= fRight || fTop >= fBottom) { in joinNonEmptyArg()
761 fRight = SkMaxScalar(fRight, r.right()); in joinPossiblyEmptyRect()
776 fRight = SkMaxScalar(x, fRight); in growToInclude()
804 fRight >= r.fRight && fBottom >= r.fBottom; in contains()
814 fRight >= SkIntToScalar(r.fRight) && fBottom >= SkIntToScalar(r.fBottom); in contains()
824 SkScalarRoundToInt(fRight), SkScalarRoundToInt(fBottom)); in round()
842 SkDScalarRoundToInt(fRight), SkDScalarRoundToInt(fBottom)); in dround()
852 SkScalarCeilToInt(fRight), SkScalarCeilToInt(fBottom)); in roundOut()
864 SkScalarCeilToScalar(fRight), in roundOut()
877 SkScalarFloorToInt(fRight), SkScalarFloorToInt(fBottom)); in roundIn()
901 if (fLeft > fRight) { in sort()
902 SkTSwap<SkScalar>(fLeft, fRight); in sort()
923 (SkScalar)fRight >= r.fRight && (SkScalar)fBottom >= r.fBottom; in contains()