mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
LibGfx: Add Rect::operator!=(Rect)
This commit is contained in:
parent
f4fa758959
commit
3f58f0e87c
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue