D | Rect.cpp | 93 bool Rect::intersect(const Rect& with, Rect* result) const { in intersect() argument 94 result->left = max(left, with.left); in intersect() 95 result->top = max(top, with.top); in intersect() 96 result->right = min(right, with.right); in intersect() 97 result->bottom = min(bottom, with.bottom); in intersect()
|