1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

LibGfx: Unpublish Gfx::Rect from global namespace

This commit is contained in:
Andreas Kling 2020-02-06 13:02:38 +01:00
parent c39d44fc2e
commit 20cfd2a6bf
78 changed files with 262 additions and 260 deletions

View file

@ -27,6 +27,8 @@
#include "Rect.h"
#include <AK/StdLibExtras.h>
namespace Gfx {
void Rect::intersect(const Rect& other)
{
int l = max(left(), other.left());
@ -126,3 +128,5 @@ void Rect::align_within(const Rect& other, TextAlignment alignment)
return;
}
}
}