Lines Matching full:bottom

34     is less than or equal to its left, or if its bottom is less than or equal to
45 or if top is equal to or greater than bottom. Setting all members to zero
124 /** Returns bottom edge of SkIRect, if sorted. Call isEmpty() to see if SkIRect may be invalid,
129 int32_t bottom() const { return fBottom; } in bottom() function
232 or if top is equal to or greater than bottom. Setting all members to zero
237 /** Sets SkIRect to (left, top, right, bottom).
239 top and bottom are not sorted; top is not necessarily less than bottom.
244 @param bottom assigned to fBottom
246 void set(int32_t left, int32_t top, int32_t right, int32_t bottom) { in set()
250 fBottom = bottom; in set()
253 /** Sets SkIRect to (left, top, right, bottom).
255 top and bottom are not sorted; top is not necessarily less than bottom.
260 @param bottom stored in fBottom
262 void setLTRB(int32_t left, int32_t top, int32_t right, int32_t bottom) { in setLTRB()
263 this->set(left, top, right, bottom); in setLTRB()
308 @return SkIRect inset symmetrically left and right, top and bottom
326 @return SkIRect outset symmetrically left and right, top and bottom
413 If dB is positive, shrinks SkIRect on the bottom. If negative, lengthens it on the bottom.
445 /** Constructs SkIRect to intersect from (left, top, right, bottom). Does not sort
454 @param bottom y-axis maximum of constructed SkIRect
457 bool contains(int32_t left, int32_t top, int32_t right, int32_t bottom) const { in contains()
458 return left < right && top < bottom && !this->isEmpty() && // check for empties in contains()
460 fRight >= right && fBottom >= bottom; in contains()
487 /** Constructs SkIRect from (left, top, right, bottom). Does not sort
498 @param bottom y-axis maximum of constructed SkIRect
502 int32_t right, int32_t bottom) const { in containsNoEmptyCheck()
504 SkASSERT(left < right && top < bottom); in containsNoEmptyCheck()
507 fRight >= right && fBottom >= bottom; in containsNoEmptyCheck()
574 /** Constructs SkIRect to intersect from (left, top, right, bottom). Does not sort
585 @param bottom y-axis maximum of constructed SkIRect
588 bool intersect(int32_t left, int32_t top, int32_t right, int32_t bottom) { in intersect()
589 return this->intersect(*this, {left, top, right, bottom}); in intersect()
616 /** Constructs SkIRect to intersect from (left, top, right, bottom). Does not sort
627 @param bottom y-axis maximum of constructed SkIRect
629 void join(int32_t left, int32_t top, int32_t right, int32_t bottom);
680 is less than or equal to its left, or if its bottom is less than or equal to
691 or if top is equal to or greater than bottom. Setting all members to zero
869 /** Returns bottom edge of SkRect, if sorted. Call isEmpty() to see if SkRect may be invalid,
874 SkScalar bottom() const { return fBottom; } in bottom() function
900 /** Returns average of top edge and bottom edge. Result does not change if SkRect
939 bottom-right, bottom-left.
950 or if top is equal to or greater than bottom. Setting all members to zero
967 /** Sets SkRect to (left, top, right, bottom).
969 top and bottom are not sorted; top is not necessarily less than bottom.
974 @param bottom stored in fBottom
976 void set(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) { in set()
980 fBottom = bottom; in set()
983 /** Sets SkRect to (left, top, right, bottom).
985 top and bottom are not sorted; top is not necessarily less than bottom.
990 @param bottom stored in fBottom
992 void setLTRB(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) { in setLTRB()
993 this->set(left, top, right, bottom); in setLTRB()
996 /** Sets SkRect to (left, top, right, bottom).
999 top and bottom are not sorted; top is not necessarily less than bottom.
1004 @param bottom promoted to SkScalar and stored in fBottom
1006 void iset(int left, int top, int right, int bottom) { in iset()
1010 fBottom = SkIntToScalar(bottom); in iset()
1141 @return SkRect inset symmetrically left and right, top and bottom
1156 @return SkRect outset symmetrically left and right, top and bottom
1245 /** Constructs SkRect to intersect from (left, top, right, bottom). Does not sort
1256 @param bottom y-axis maximum of constructed SkRect
1259 bool intersect(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom);
1285 /** Constructs SkRect to intersect from (left, top, right, bottom). Does not sort
1294 @param bottom y-axis maximum of constructed SkRect
1297 bool intersects(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) const { in intersects()
1298 return Intersects(fLeft, fTop, fRight, fBottom, left, top, right, bottom); in intersects()
1324 /** Constructs SkRect to intersect from (left, top, right, bottom). Does not sort
1335 @param bottom y-axis maximum of constructed SkRect
1337 void join(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom);
1379 fBottom = SkMaxScalar(fBottom, r.bottom()); in joinPossiblyEmptyRect()