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