D | Rect.cpp | 82 bool Rect::intersect(const Rect& with, Rect* result) const { in intersect() argument 83 result->left = max(left, with.left); in intersect() 84 result->top = max(top, with.top); in intersect() 85 result->right = min(right, with.right); in intersect() 86 result->bottom = min(bottom, with.bottom); in intersect()
|