Go to the source code of this file.
◆ operator&=()
Definition at line 222 of file rect.cpp.
232 if (op2.bot_left.
x () > op1.bot_left.
x ())
233 op1.bot_left.
set_x (op2.bot_left.
x ());
235 if (op2.top_right.
x () < op1.top_right.
x ())
236 op1.top_right.
set_x (op2.top_right.
x ());
238 if (op2.bot_left.
y () > op1.bot_left.
y ())
239 op1.bot_left.
set_y (op2.bot_left.
y ());
241 if (op2.top_right.
y () < op1.top_right.
y ())
242 op1.top_right.
set_y (op2.top_right.
y ());
◆ operator+=()
Definition at line 198 of file rect.cpp.
208 if (op2.bot_left.
x () < op1.bot_left.
x ())
209 op1.bot_left.
set_x (op2.bot_left.
x ());
211 if (op2.top_right.
x () > op1.top_right.
x ())
212 op1.top_right.
set_x (op2.top_right.
x ());
214 if (op2.bot_left.
y () < op1.bot_left.
y ())