D | Rect.cpp | 86 bool Rect::intersect(const Rect& with, Rect* result) const in intersect() argument 88 result->left = max(left, with.left); in intersect() 89 result->top = max(top, with.top); in intersect() 90 result->right = min(right, with.right); in intersect() 91 result->bottom = min(bottom, with.bottom); in intersect()
|