Lines Matching refs:fTop
30 int32_t fTop; //!< smaller y-axis bounds member
118 int32_t top() const { return fTop; } in top()
146 int32_t y() const { return fTop; } in y()
149 SkIPoint topLeft() const { return {fLeft, fTop}; } in topLeft()
163 int32_t height() const { return Sk32_can_overflow_sub(fBottom, fTop); } in height()
186 int64_t height64() const { return (int64_t)fBottom - (int64_t)fTop; } in height64()
194 bool isEmpty64() const { return fRight <= fLeft || fBottom <= fTop; } in isEmpty64()
251 fTop = top; in setLTRB()
266 fTop = y; in setXYWH()
273 fTop = 0; in setWH()
280 fTop = 0; in setSize()
298 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeOffset()
330 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeInset()
348 Sk32_sat_sub(fLeft, dx), Sk32_sat_sub(fTop, dy), in makeOutset()
365 fTop = Sk32_sat_add(fTop, dy); in offset()
392 fBottom = Sk64_pin_to_s32((int64_t)fBottom + newY - fTop); in offsetTo()
394 fTop = newY; in offsetTo()
409 fTop = Sk32_sat_add(fTop, dy); in inset()
444 fTop = Sk32_sat_add(fTop, dT); in adjust()
460 return x >= fLeft && x < fRight && y >= fTop && y < fBottom; in contains()
473 fLeft <= r.fLeft && fTop <= r.fTop && in contains()
496 SkASSERT(fLeft < fRight && fTop < fBottom); in containsNoEmptyCheck()
497 SkASSERT(r.fLeft < r.fRight && r.fTop < r.fBottom); in containsNoEmptyCheck()
498 return fLeft <= r.fLeft && fTop <= r.fTop && fRight >= r.fRight && fBottom >= r.fBottom; in containsNoEmptyCheck()
554 if (fTop > fBottom) { in sort()
555 swap(fTop, fBottom); in sort()
566 return MakeLTRB(std::min(fLeft, fRight), std::min(fTop, fBottom), in makeSorted()
567 std::max(fLeft, fRight), std::max(fTop, fBottom)); in makeSorted()
580 SkScalar fTop; //!< smaller y-axis bounds member
680 SkIntToScalar(irect.fLeft), SkIntToScalar(irect.fTop), in Make()
694 return !(fLeft < fRight && fTop < fBottom); in isEmpty()
703 bool isSorted() const { return fLeft <= fRight && fTop <= fBottom; } in isSorted()
713 accum *= fTop; in isFinite()
737 SkScalar y() const { return fTop; } in y()
751 SkScalar top() const { return fTop; } in top()
779 SkScalar height() const { return fBottom - fTop; } in height()
798 return SkScalarHalf(fTop) + SkScalarHalf(fBottom); in centerY()
855 fTop = SkIntToScalar(src.fTop); in set()
871 fTop = top; in setLTRB()
923 fTop = std::min(p0.fY, p1.fY); in set()
937 fTop = y; in setXYWH()
950 fTop = 0; in setWH()
970 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset()
992 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset()
1007 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset()
1022 fTop += dy; in offset()
1049 fBottom += newY - fTop; in offsetTo()
1051 fTop = newY; in offsetTo()
1066 fTop += dy; in inset()
1126 return Intersects(fLeft, fTop, fRight, fBottom, in intersects()
1127 r.fLeft, r.fTop, r.fRight, r.fBottom); in intersects()
1138 return Intersects(a.fLeft, a.fTop, a.fRight, a.fBottom, in Intersects()
1139 b.fLeft, b.fTop, b.fRight, b.fBottom); in Intersects()
1165 if (fLeft >= fRight || fTop >= fBottom) { in joinNonEmptyArg()
1180 fTop = std::min(fTop, r.top()); in joinPossiblyEmptyRect()
1193 return x >= fLeft && x < fRight && y >= fTop && y < fBottom; in contains()
1207 fLeft <= r.fLeft && fTop <= r.fTop && in contains()
1222 fLeft <= SkIntToScalar(r.fLeft) && fTop <= SkIntToScalar(r.fTop) && in contains()
1234 dst->setLTRB(SkScalarRoundToInt(fLeft), SkScalarRoundToInt(fTop), in round()
1247 dst->setLTRB(SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop), in roundOut()
1259 dst->setLTRB(SkScalarFloorToScalar(fLeft), SkScalarFloorToScalar(fTop), in roundOut()
1272 dst->setLTRB(SkScalarCeilToInt(fLeft), SkScalarCeilToInt(fTop), in roundIn()
1323 if (fTop > fBottom) { in sort()
1324 swap(fTop, fBottom); in sort()
1335 return MakeLTRB(std::min(fLeft, fRight), std::min(fTop, fBottom), in makeSorted()
1336 std::max(fLeft, fRight), std::max(fTop, fBottom)); in makeSorted()
1374 (SkScalar)fLeft <= r.fLeft && (SkScalar)fTop <= r.fTop && in contains()