Lines Matching refs:bottom
27 void Rect::Inset(int32_t left, int32_t top, int32_t right, int32_t bottom) { in Inset() argument
30 set_height(std::max<int32_t>(height() - top - bottom, 0)); in Inset()
40 (point_y >= y()) && (point_y < bottom()); in Contains()
45 rect.y() >= y() && rect.bottom() <= bottom()); in Contains()
50 rect.y() >= bottom() || rect.bottom() <= y()); in Intersects()
57 int32_t rb = std::min(bottom(), rect.bottom()); in Intersect()
75 int32_t rb = std::max(bottom(), rect.bottom()); in Union()
90 int32_t rb = bottom(); in Subtract()
92 if (rect.y() <= y() && rect.bottom() >= bottom()) { in Subtract()
102 ry = rect.bottom(); in Subtract()
128 (y() == rect.bottom() || bottom() == rect.y())); in SharesEdgeWith()
131 void FloatRect::Inset(float left, float top, float right, float bottom) { in Inset() argument
134 set_height(std::max<float>(height() - top - bottom, 0.0f)); in Inset()
144 (point_y >= y()) && (point_y < bottom()); in Contains()
149 rect.y() >= y() && rect.bottom() <= bottom()); in Contains()
154 rect.y() >= bottom() || rect.bottom() <= y()); in Intersects()
161 float rb = std::min(bottom(), rect.bottom()); in Intersect()
179 float rb = std::max(bottom(), rect.bottom()); in Union()
194 float rb = bottom(); in Subtract()
196 if (rect.y() <= y() && rect.bottom() >= bottom()) { in Subtract()
206 ry = rect.bottom(); in Subtract()
233 (y() == rect.bottom() || bottom() == rect.y())); in SharesEdgeWith()