Home | History | Annotate | Download | only in core

Lines Matching defs:fBottom

33         When equal to or greater than fBottom, SkIRect is empty.
45 int32_t fBottom;
88 result in fLeft greater than fRight, or fTop greater than fBottom.
93 @param b integer stored in fBottom
107 @param h added to y and stored in fBottom
123 and sort() to reverse fTop and fBottom if needed.
137 and sort() to reverse fTop and fBottom if needed.
139 @return fBottom
141 int32_t bottom() const { return fBottom; }
151 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); }
194 int32_t centerY() const { return SkToS32(((int64_t)fBottom + fTop) >> 1); }
208 @return fBottom minus fTop cast to int64_t
210 int64_t height64() const { return (int64_t)fBottom - (int64_t)fTop; }
213 to or greater than fBottom. Call sort() to reverse rectangles with negative
218 bool isEmpty64() const { return fRight <= fLeft || fBottom <= fTop; }
234 /** Returns true if all members in a: fLeft, fTop, fRight, and fBottom; are
245 /** Returns true if any member in a: fLeft, fTop, fRight, and fBottom; is not
256 /** Returns true if all members: fLeft, fTop, fRight, and fBottom; values are
263 SkTFitsIn<int16_t>(fRight) && SkTFitsIn<int16_t>(fBottom);
281 @param bottom assigned to fBottom
287 fBottom = bottom;
297 @param bottom stored in fBottom
309 @param height added to y and stored in fBottom
315 fBottom = Sk32_sat_add(y, height);
326 @param dy offset added to fTop and fBottom
332 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy),
344 @param dy offset added to fTop and subtracted from fBottom
350 Sk32_sat_sub(fRight, dx), Sk32_sat_sub(fBottom, dy),
362 @param dy offset subtracted to fTop and added from fBottom
368 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy),
372 /** Offsets SkIRect by adding dx to fLeft, fRight; and by adding dy to fTop, fBottom.
380 @param dy offset added to fTop and fBottom
386 fBottom = Sk32_sat_add(fBottom, dy);
390 fTop, fBottom.
411 fBottom = Sk64_pin_to_s32((int64_t)fBottom + newY - fTop);
424 @param dy offset added to fTop and subtracted from fBottom
430 fBottom = Sk32_sat_sub(fBottom, dy);
441 @param dy subtracted to fTop and added from fBottom
458 return l >= fRight || fLeft >= r || t >= fBottom || fTop >= b;
461 /** Returns true if: fLeft <= x < fRight && fTop <= y < fBottom.
472 return x >= fLeft && x < fRight && y >= fTop && y < fBottom;
490 fRight >= right && fBottom >= bottom;
504 fRight >= r.fRight && fBottom >= r.fBottom;
533 SkASSERT(fLeft < fRight && fTop < fBottom);
537 fRight >= right && fBottom >= bottom;
549 return containsNoEmptyCheck(r.fLeft, r.fTop, r.fRight, r.fBottom);
579 SkMin32(a.fBottom, b.fBottom)
668 this->join(r.fLeft, r.fTop, r.fRight, r.fBottom);
672 fTop and fBottom if fTop is greater than fBottom. Result may be empty,
679 if (fTop > fBottom) {
680 SkTSwap<int32_t>(fTop, fBottom);
685 with fTop and fBottom swapped if fTop is greater than fBottom. Result may be empty;
691 return MakeLTRB(SkMin32(fLeft, fRight), SkMin32(fTop, fBottom),
692 SkMax32(fLeft, fRight), SkMax32(fTop, fBottom));
720 vertical values when sorted. When equal to or greater than fBottom, SkRect is empty.
732 SkScalar fBottom;
794 result in fLeft greater than fRight, or fTop greater than fBottom.
799 @param b SkScalar stored in fBottom
813 @param h added to y and stored in fBottom
828 SkIntToScalar(irect.fBottom));
844 than fBottom.
854 SkIntToScalar(irect.fBottom));
859 to or greater than fBottom. Call sort() to reverse rectangles with negative
867 return !(fLeft < fRight && fTop < fBottom);
871 to or less than fBottom. Call sort() to reverse rectangles with negative
876 fBottom; }
888 accum *= fBottom;
906 and sort() to reverse fTop and fBottom if needed.
920 and sort() to reverse fTop and fBottom if needed.
934 and sort() to reverse fTop and fBottom if needed.
936 @return fBottom
938 SkScalar bottom() const { return fBottom; }
950 @return fBottom minus fTop
952 SkScalar height() const { return fBottom - fTop; }
966 SkScalar centerY() const { return SkScalarHalf(fTop + fBottom); }
968 /** Returns true if all members in a: fLeft, fTop, fRight, and fBottom; are
982 /** Returns true if any in a: fLeft, fTop, fRight, and fBottom; does not
1021 fBottom = SkIntToScalar(src.fBottom);
1031 @param bottom stored in fBottom
1037 fBottom = bottom;
1047 @param bottom stored in fBottom
1061 @param bottom promoted to SkScalar and stored in fBottom
1067 fBottom = SkIntToScalar(bottom);
1075 @param height promoted to SkScalar and stored in fBottom
1080 fBottom = SkIntToScalar(height);
1087 fTop is less than or equal to fBottom.
1103 fTop is less than or equal to fBottom.
1117 fTop is less than or equal to fBottom.
1135 fBottom = SkMaxScalar(p0.fY, p1.fY);
1144 @param height added to y and stored in fBottom
1150 fBottom = y + height;
1157 @param height stored in fBottom
1163 fBottom = height;
1174 @param dy added to fTop and fBottom
1178 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy);
1189 @param dy added to fTop and subtracted from fBottom
1193 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy);
1204 @param dy subtracted to fTop and added from fBottom
1208 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy);
1211 /** Offsets SkRect by adding dx to fLeft, fRight; and by adding dy to fTop, fBottom.
1219 @param dy offset added to fTop and fBottom
1225 fBottom += dy;
1229 fTop, fBottom.
1250 fBottom += newY - fTop;
1263 @param dy added to fTop and subtracted from fBottom
1269 fBottom -= dy;
1280 @param dy subtracted to fTop and added from fBottom
1347 return Intersects(fLeft, fTop, fRight, fBottom, left, top, right, bottom);
1357 return Intersects(fLeft, fTop, fRight, fBottom,
1358 r.fLeft, r.fTop, r.fRight, r.fBottom);
1369 return Intersects(a.fLeft, a.fTop, a.fRight, a.fBottom,
1370 b.fLeft, b.fTop, b.fRight, b.fBottom);
1396 this->join(r.fLeft, r.fTop, r.fRight, r.fBottom);
1411 if (fLeft >= fRight || fTop >= fBottom) {
1428 fBottom = SkMaxScalar(fBottom, r.bottom());
1431 /** Returns true if: fLeft <= x < fRight && fTop <= y < fBottom.
1439 return x >= fLeft && x < fRight && y >= fTop && y < fBottom;
1454 fRight >= r.fRight && fBottom >= r.fBottom;
1469 fRight >= SkIntToScalar(r.fRight) && fBottom >= SkIntToScalar(r.fBottom);
1474 SkScalarRoundToInt(fRight), SkScalarRoundToInt(fBottom)).
1481 SkScalarRoundToInt(fRight), SkScalarRoundToInt(fBottom));
1485 rounding up fRight and fBottom, using (SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop),
1486 SkScalarCeilToInt(fRight), SkScalarCeilToInt(fBottom)).
1493 SkScalarCeilToInt(fRight), SkScalarCeilToInt(fBottom));
1497 rounding up fRight and fBottom, using (SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop),
1498 SkScalarCeilToInt(fRight), SkScalarCeilToInt(fBottom)).
1506 SkScalarCeilToScalar(fBottom));
1510 discarding the fractional portion of fRight and fBottom, using
1512 SkScalarFloorToInt(fRight), SkScalarFloorToInt(fBottom)).
1519 SkScalarFloorToInt(fRight), SkScalarFloorToInt(fBottom));
1524 SkScalarRoundToInt(fRight), SkScalarRoundToInt(fBottom)).
1535 rounding up fRight and fBottom, using (SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop),
1536 SkScalarCeilToInt(fRight), SkScalarCeilToInt(fBottom)).
1547 fTop and fBottom if fTop is greater than fBottom. Result may be empty;
1555 if (fTop > fBottom) {
1556 SkTSwap<SkScalar>(fTop, fBottom);
1561 with fTop and fBottom swapped if fTop is greater than fBottom. Result may be empty;
1567 return MakeLTRB(SkMinScalar(fLeft, fRight), SkMinScalar(fTop, fBottom),
1568 SkMaxScalar(fLeft, fRight), SkMaxScalar(fTop, fBottom));
1605 (SkScalar)fRight >= r.fRight && (SkScalar)fBottom >= r.fBottom;