mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 11:36:10 +00:00
LibGfx: Add Rect::operator!=(Rect)
This commit is contained in:
parent
f4fa758959
commit
3f58f0e87c
Notes:
sideshowbarker
2024-07-19 09:26:42 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/3f58f0e87ca
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
Reference in a new issue