mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-08 00:50:32 +00:00
LibGfx: Add Rect::operator!=(Rect)
This commit is contained in:
parent
f4fa758959
commit
3f58f0e87c
|
@ -264,6 +264,11 @@ public:
|
|||
&& m_size == other.m_size;
|
||||
}
|
||||
|
||||
bool operator!=(const Rect& other) const
|
||||
{
|
||||
return !(*this == other);
|
||||
}
|
||||
|
||||
void intersect(const Rect&);
|
||||
|
||||
static Rect from_two_points(const Point& a, const Point& b)
|
||||
|
|
Loading…
Reference in a new issue