Lines Matching full:bottom
28 size_(std::abs(r.right - r.left), std::abs(r.bottom - r.top)) { in Rect()
42 r.bottom = bottom(); in ToRECT()
102 void Rect::SetByBounds(int left, int top, int right, int bottom) { in SetByBounds() argument
106 SaturatedClampRange(top, bottom, &y, &height); in SetByBounds()
112 Inset(insets.left(), insets.top(), insets.right(), insets.bottom()); in Inset()
115 void Rect::Inset(int left, int top, int right, int bottom) { in Inset() argument
120 set_height(base::ClampSub(height(), base::ClampAdd(top, bottom))); in Inset()
144 bottom() - inner.bottom(), in InsetsFrom()
162 (point_y < bottom()); in Contains()
167 rect.bottom() <= bottom()); in Contains()
172 rect.right() <= x() || rect.y() >= bottom() || rect.bottom() <= y()); in Intersects()
184 int new_bottom = std::min(bottom(), rect.bottom()); in Intersect()
204 std::max(bottom(), rect.bottom())); in Union()
218 int rb = bottom(); in Subtract()
220 if (rect.y() <= y() && rect.bottom() >= bottom()) { in Subtract()
230 ry = rect.bottom(); in Subtract()
231 } else if (rect.bottom() >= bottom()) { in Subtract()
273 (y() == rect.bottom() || bottom() == rect.y())); in SharesEdgeWith()
280 std::max<int>(0, std::max(y() - point.y(), point.y() - bottom())); in ManhattanDistanceToPoint()
304 std::abs(bottom() - rect.bottom()) <= tolerance; in ApproximatelyEqual()