Lines Matching refs:fBottom

32     int32_t fBottom; //!< larger y-axis bounds
85 result in fLeft greater than fRight, or fTop greater than fBottom.
90 @param b integer stored in fBottom
104 @param h added to y and stored in fBottom
120 and sort() to reverse fTop and fBottom if needed.
134 and sort() to reverse fTop and fBottom if needed.
136 @return fBottom
138 int32_t bottom() const { return fBottom; }
148 and sort() to reverse fTop and fBottom if needed.
167 @return fBottom minus fTop
169 int32_t height() const { return Sk32_can_overflow_sub(fBottom, fTop); }
190 @return fBottom minus fTop cast to int64_t
192 int64_t height64() const { return (int64_t)fBottom - (int64_t)fTop; }
195 to or greater than fBottom. Call sort() to reverse rectangles with negative
200 bool isEmpty64() const { return fRight <= fLeft || fBottom <= fTop; }
216 /** Returns true if all members in a: fLeft, fTop, fRight, and fBottom; are
227 /** Returns true if any member in a: fLeft, fTop, fRight, and fBottom; is not
253 @param bottom stored in fBottom
259 fBottom = bottom;
268 @param height added to y and stored in fBottom
274 fBottom = Sk32_sat_add(y, height);
281 fBottom = height;
288 fBottom = size.height();
299 @param dy offset added to fTop and fBottom
305 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy),
331 @param dy offset added to fTop and subtracted from fBottom
337 Sk32_sat_sub(fRight, dx), Sk32_sat_sub(fBottom, dy),
349 @param dy offset subtracted to fTop and added from fBottom
355 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy),
359 /** Offsets SkIRect by adding dx to fLeft, fRight; and by adding dy to fTop, fBottom.
367 @param dy offset added to fTop and fBottom
373 fBottom = Sk32_sat_add(fBottom, dy);
377 fTop, fBottom.
398 fBottom = Sk64_pin_to_s32((int64_t)fBottom + newY - fTop);
411 @param dy offset added to fTop and subtracted from fBottom
417 fBottom = Sk32_sat_sub(fBottom, dy);
428 @param dy subtracted to fTop and added from fBottom
432 /** Adjusts SkIRect by adding dL to fLeft, dT to fTop, dR to fRight, and dB to fBottom.
446 @param dB offset added to fBottom
452 fBottom = Sk32_sat_add(fBottom, dB);
455 /** Returns true if: fLeft <= x < fRight && fTop <= y < fBottom.
466 return x >= fLeft && x < fRight && y >= fTop && y < fBottom;
480 fRight >= r.fRight && fBottom >= r.fBottom;
502 SkASSERT(fLeft < fRight && fTop < fBottom);
503 SkASSERT(r.fLeft < r.fRight && r.fTop < r.fBottom);
504 return fLeft <= r.fLeft && fTop <= r.fTop && fRight >= r.fRight && fBottom >= r.fBottom;
552 fTop and fBottom if fTop is greater than fBottom. Result may be empty,
560 if (fTop > fBottom) {
561 swap(fTop, fBottom);
566 with fTop and fBottom swapped if fTop is greater than fBottom. Result may be empty;
572 return MakeLTRB(std::min(fLeft, fRight), std::min(fTop, fBottom),
573 std::max(fLeft, fRight), std::max(fTop, fBottom));
588 SkScalar fBottom; //!< larger y-axis bounds
640 result in fLeft greater than fRight, or fTop greater than fBottom.
645 @param b SkScalar stored in fBottom
659 @param h added to y and stored in fBottom
679 than fBottom.
687 SkIntToScalar(irect.fRight), SkIntToScalar(irect.fBottom)
692 to or greater than fBottom. Call sort() to reverse rectangles with negative
700 return !(fLeft < fRight && fTop < fBottom);
704 to or less than fBottom. Call sort() to reverse rectangles with negative
709 bool isSorted() const { return fLeft <= fRight && fTop <= fBottom; }
721 accum *= fBottom;
739 and sort() to reverse fTop and fBottom if needed.
753 and sort() to reverse fTop and fBottom if needed.
767 and sort() to reverse fTop and fBottom if needed.
769 @return fBottom
771 SkScalar bottom() const { return fBottom; }
783 @return fBottom minus fTop
785 SkScalar height() const { return fBottom - fTop; }
793 // don't use SkScalarHalf(fLeft + fBottom) as that might overflow before the 0.5
803 // don't use SkScalarHalf(fTop + fBottom) as that might overflow before the 0.5
804 return SkScalarHalf(fTop) + SkScalarHalf(fBottom);
807 /** Returns true if all members in a: fLeft, fTop, fRight, and fBottom; are
821 /** Returns true if any in a: fLeft, fTop, fRight, and fBottom; does not
863 fBottom = SkIntToScalar(src.fBottom);
873 @param bottom stored in fBottom
879 fBottom = bottom;
886 fTop is less than or equal to fBottom.
900 fTop is less than or equal to fBottom.
930 fBottom = std::max(p0.fY, p1.fY);
939 @param height added to y and stored in fBottom
945 fBottom = y + height;
952 @param height stored in fBottom
958 fBottom = height;
972 @param dy added to fTop and fBottom
976 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy);
994 @param dy added to fTop and subtracted from fBottom
998 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy);
1009 @param dy subtracted to fTop and added from fBottom
1013 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy);
1016 /** Offsets SkRect by adding dx to fLeft, fRight; and by adding dy to fTop, fBottom.
1024 @param dy offset added to fTop and fBottom
1030 fBottom += dy;
1034 fTop, fBottom.
1055 fBottom += newY - fTop;
1068 @param dy added to fTop and subtracted from fBottom
1074 fBottom -= dy;
1085 @param dy subtracted to fTop and added from fBottom
1132 return Intersects(fLeft, fTop, fRight, fBottom,
1133 r.fLeft, r.fTop, r.fRight, r.fBottom);
1144 return Intersects(a.fLeft, a.fTop, a.fRight, a.fBottom,
1145 b.fLeft, b.fTop, b.fRight, b.fBottom);
1171 if (fLeft >= fRight || fTop >= fBottom) {
1188 fBottom = std::max(fBottom, r.bottom());
1191 /** Returns true if: fLeft <= x < fRight && fTop <= y < fBottom.
1199 return x >= fLeft && x < fRight && y >= fTop && y < fBottom;
1214 fRight >= r.fRight && fBottom >= r.fBottom;
1229 fRight >= SkIntToScalar(r.fRight) && fBottom >= SkIntToScalar(r.fBottom);
1234 SkScalarRoundToInt(fRight), SkScalarRoundToInt(fBottom)).
1241 SkScalarRoundToInt(fRight), SkScalarRoundToInt(fBottom));
1245 up fRight and fBottom, using
1247 SkScalarCeilToInt(fRight), SkScalarCeilToInt(fBottom)).
1254 SkScalarCeilToInt(fRight), SkScalarCeilToInt(fBottom));
1258 up fRight and fBottom, using
1260 SkScalarCeilToInt(fRight), SkScalarCeilToInt(fBottom)).
1266 SkScalarCeilToScalar(fRight), SkScalarCeilToScalar(fBottom));
1270 of fRight and fBottom, using
1272 SkScalarFloorToInt(fRight), SkScalarFloorToInt(fBottom)).
1279 SkScalarFloorToInt(fRight), SkScalarFloorToInt(fBottom));
1284 SkScalarRoundToInt(fRight), SkScalarRoundToInt(fBottom)).
1295 up fRight and fBottom, using
1297 SkScalarCeilToInt(fRight), SkScalarCeilToInt(fBottom)).
1307 of fRight and fBottom, using
1309 SkScalarFloorToInt(fRight), SkScalarFloorToInt(fBottom)).
1320 fTop and fBottom if fTop is greater than fBottom. Result may be empty;
1329 if (fTop > fBottom) {
1330 swap(fTop, fBottom);
1335 with fTop and fBottom swapped if fTop is greater than fBottom. Result may be empty;
1341 return MakeLTRB(std::min(fLeft, fRight), std::min(fTop, fBottom),
1342 std::max(fLeft, fRight), std::max(fTop, fBottom));
1388 (SkScalar)fRight >= r.fRight && (SkScalar)fBottom >= r.fBottom;