• Home
  • Raw
  • Download

Lines Matching refs:fTop

30     int32_t fTop;    //!< smaller y-axis bounds  member
124 int32_t top() const { return fTop; } in top()
152 int32_t y() const { return fTop; } in y()
155 SkIPoint topLeft() const { return {fLeft, fTop}; } in topLeft()
169 int32_t height() const { return Sk32_can_overflow_sub(fBottom, fTop); } in height()
192 int64_t height64() const { return (int64_t)fBottom - (int64_t)fTop; } in height64()
200 bool isEmpty64() const { return fRight <= fLeft || fBottom <= fTop; } in isEmpty64()
257 fTop = top; in setLTRB()
272 fTop = y; in setXYWH()
279 fTop = 0; in setWH()
286 fTop = 0; in setSize()
304 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeOffset()
336 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeInset()
354 Sk32_sat_sub(fLeft, dx), Sk32_sat_sub(fTop, dy), in makeOutset()
371 fTop = Sk32_sat_add(fTop, dy); in offset()
398 fBottom = Sk64_pin_to_s32((int64_t)fBottom + newY - fTop); in offsetTo()
400 fTop = newY; in offsetTo()
415 fTop = Sk32_sat_add(fTop, dy); in inset()
450 fTop = Sk32_sat_add(fTop, dT); in adjust()
466 return x >= fLeft && x < fRight && y >= fTop && y < fBottom; in contains()
479 fLeft <= r.fLeft && fTop <= r.fTop && in contains()
502 SkASSERT(fLeft < fRight && fTop < fBottom); in containsNoEmptyCheck()
503 SkASSERT(r.fLeft < r.fRight && r.fTop < r.fBottom); in containsNoEmptyCheck()
504 return fLeft <= r.fLeft && fTop <= r.fTop && fRight >= r.fRight && fBottom >= r.fBottom; in containsNoEmptyCheck()
560 if (fTop > fBottom) { in sort()
561 swap(fTop, fBottom); in sort()
572 return MakeLTRB(std::min(fLeft, fRight), std::min(fTop, fBottom), in makeSorted()
573 std::max(fLeft, fRight), std::max(fTop, fBottom)); in makeSorted()
586 SkScalar fTop; //!< smaller y-axis bounds member
686 SkIntToScalar(irect.fLeft), SkIntToScalar(irect.fTop), in Make()
700 return !(fLeft < fRight && fTop < fBottom); in isEmpty()
709 bool isSorted() const { return fLeft <= fRight && fTop <= fBottom; } in isSorted()
719 accum *= fTop; in isFinite()
743 SkScalar y() const { return fTop; } in y()
757 SkScalar top() const { return fTop; } in top()
785 SkScalar height() const { return fBottom - fTop; } in height()
804 return SkScalarHalf(fTop) + SkScalarHalf(fBottom); in centerY()
861 fTop = SkIntToScalar(src.fTop); in set()
877 fTop = top; in setLTRB()
929 fTop = std::min(p0.fY, p1.fY); in set()
943 fTop = y; in setXYWH()
956 fTop = 0; in setWH()
976 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset()
998 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset()
1013 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset()
1028 fTop += dy; in offset()
1055 fBottom += newY - fTop; in offsetTo()
1057 fTop = newY; in offsetTo()
1072 fTop += dy; in inset()
1132 return Intersects(fLeft, fTop, fRight, fBottom, in intersects()
1133 r.fLeft, r.fTop, r.fRight, r.fBottom); in intersects()
1144 return Intersects(a.fLeft, a.fTop, a.fRight, a.fBottom, in Intersects()
1145 b.fLeft, b.fTop, b.fRight, b.fBottom); in Intersects()
1171 if (fLeft >= fRight || fTop >= fBottom) { in joinNonEmptyArg()
1186 fTop = std::min(fTop, r.top()); in joinPossiblyEmptyRect()
1199 return x >= fLeft && x < fRight && y >= fTop && y < fBottom; in contains()
1213 fLeft <= r.fLeft && fTop <= r.fTop && in contains()
1228 fLeft <= SkIntToScalar(r.fLeft) && fTop <= SkIntToScalar(r.fTop) && in contains()
1240 dst->setLTRB(SkScalarRoundToInt(fLeft), SkScalarRoundToInt(fTop), in round()
1253 dst->setLTRB(SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop), in roundOut()
1265 dst->setLTRB(SkScalarFloorToScalar(fLeft), SkScalarFloorToScalar(fTop), in roundOut()
1278 dst->setLTRB(SkScalarCeilToInt(fLeft), SkScalarCeilToInt(fTop), in roundIn()
1329 if (fTop > fBottom) { in sort()
1330 swap(fTop, fBottom); in sort()
1341 return MakeLTRB(std::min(fLeft, fRight), std::min(fTop, fBottom), in makeSorted()
1342 std::max(fLeft, fRight), std::max(fTop, fBottom)); in makeSorted()
1387 (SkScalar)fLeft <= r.fLeft && (SkScalar)fTop <= r.fTop && in contains()