• Home
  • Raw
  • Download

Lines Matching refs:fLeft

30     int32_t fLeft;  member
120 int32_t left() const { return fLeft; } in left()
148 int32_t x() const { return fLeft; } in x()
162 int32_t width() const { return Sk32_can_overflow_sub(fRight, fLeft); } in width()
185 int32_t centerX() const { return SkToS32(((int64_t)fRight + fLeft) >> 1); } in centerX()
202 int64_t width64() const { return (int64_t)fRight - (int64_t)fLeft; } in width64()
218 bool isEmpty64() const { return fRight <= fLeft || fBottom <= fTop; } in isEmpty64()
262 return SkTFitsIn<int16_t>(fLeft) && SkTFitsIn<int16_t>(fTop) && in is16Bit()
284 fLeft = left; in set()
312 fLeft = x; in setXYWH()
331 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeOffset()
349 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeInset()
367 Sk32_sat_sub(fLeft, dx), Sk32_sat_sub(fTop, dy), in makeOutset()
383 fLeft = Sk32_sat_add(fLeft, dx); in offset()
410 fRight = Sk64_pin_to_s32((int64_t)fRight + newX - fLeft); in offsetTo()
412 fLeft = newX; in offsetTo()
427 fLeft = Sk32_sat_add(fLeft, dx); in inset()
458 return l >= fRight || fLeft >= r || t >= fBottom || fTop >= b; in quickReject()
472 return x >= fLeft && x < fRight && y >= fTop && y < fBottom; in contains()
489 fLeft <= left && fTop <= top && in contains()
503 fLeft <= r.fLeft && fTop <= r.fTop && in contains()
533 SkASSERT(fLeft < fRight && fTop < fBottom); in containsNoEmptyCheck()
536 return fLeft <= left && fTop <= top && in containsNoEmptyCheck()
549 return containsNoEmptyCheck(r.fLeft, r.fTop, r.fRight, r.fBottom); in containsNoEmptyCheck()
576 SkMax32(a.fLeft, b.fLeft), in intersectNoEmptyCheck()
668 this->join(r.fLeft, r.fTop, r.fRight, r.fBottom); in join()
676 if (fLeft > fRight) { in sort()
677 SkTSwap<int32_t>(fLeft, fRight); in sort()
691 return MakeLTRB(SkMin32(fLeft, fRight), SkMin32(fTop, fBottom), in makeSorted()
692 SkMax32(fLeft, fRight), SkMax32(fTop, fBottom)); in makeSorted()
717 SkScalar fLeft; member
825 r.set(SkIntToScalar(irect.fLeft), in MakeFromIRect()
851 r.set(SkIntToScalar(irect.fLeft), in Make()
867 return !(fLeft < fRight && fTop < fBottom); in isEmpty()
876 bool isSorted() const { return fLeft <= fRight && fTop <= fBottom; } in isSorted()
885 accum *= fLeft; in isFinite()
903 SkScalar x() const { return fLeft; } in x()
917 SkScalar left() const { return fLeft; } in left()
945 SkScalar width() const { return fRight - fLeft; } in width()
959 SkScalar centerX() const { return SkScalarHalf(fLeft + fRight); } in centerX()
1018 fLeft = SkIntToScalar(src.fLeft); in set()
1034 fLeft = left; in set()
1064 fLeft = SkIntToScalar(left); in iset()
1078 fLeft = fTop = 0; in isetWH()
1132 fLeft = SkMinScalar(p0.fX, p1.fX); in set()
1147 fLeft = x; in setXYWH()
1160 fLeft = 0; in setWH()
1178 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset()
1193 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset()
1208 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset()
1222 fLeft += dx; in offset()
1249 fRight += newX - fLeft; in offsetTo()
1251 fLeft = newX; in offsetTo()
1266 fLeft += dx; in inset()
1347 return Intersects(fLeft, fTop, fRight, fBottom, left, top, right, bottom); in intersects()
1357 return Intersects(fLeft, fTop, fRight, fBottom, in intersects()
1358 r.fLeft, r.fTop, r.fRight, r.fBottom); in intersects()
1369 return Intersects(a.fLeft, a.fTop, a.fRight, a.fBottom, in Intersects()
1370 b.fLeft, b.fTop, b.fRight, b.fBottom); in Intersects()
1396 this->join(r.fLeft, r.fTop, r.fRight, r.fBottom); in join()
1411 if (fLeft >= fRight || fTop >= fBottom) { in joinNonEmptyArg()
1425 fLeft = SkMinScalar(fLeft, r.left()); in joinPossiblyEmptyRect()
1439 return x >= fLeft && x < fRight && y >= fTop && y < fBottom; in contains()
1453 fLeft <= r.fLeft && fTop <= r.fTop && in contains()
1468 fLeft <= SkIntToScalar(r.fLeft) && fTop <= SkIntToScalar(r.fTop) && in contains()
1480 dst->set(SkScalarRoundToInt(fLeft), SkScalarRoundToInt(fTop), in round()
1492 dst->set(SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop), in roundOut()
1503 dst->set(SkScalarFloorToScalar(fLeft), in roundOut()
1518 dst->set(SkScalarCeilToInt(fLeft), SkScalarCeilToInt(fTop), in roundIn()
1551 if (fLeft > fRight) { in sort()
1552 SkTSwap<SkScalar>(fLeft, fRight); in sort()
1567 return MakeLTRB(SkMinScalar(fLeft, fRight), SkMinScalar(fTop, fBottom), in makeSorted()
1568 SkMaxScalar(fLeft, fRight), SkMaxScalar(fTop, fBottom)); in makeSorted()
1576 const SkScalar* asScalars() const { return &fLeft; } in asScalars()
1604 (SkScalar)fLeft <= r.fLeft && (SkScalar)fTop <= r.fTop && in contains()