mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
LibGfx+Everywhere: Make DisjointRectSet work for non-int Rects
For convenience, `DisjointIntRectSet` is an alias for `DisjointRectSet<int>`, and is used everywhere for now.
This commit is contained in:
parent
f52413a70e
commit
ff0a2b1a60
13 changed files with 67 additions and 59 deletions
|
@ -11,7 +11,10 @@ namespace Gfx {
|
|||
class Bitmap;
|
||||
class CharacterBitmap;
|
||||
class Color;
|
||||
|
||||
template<typename T>
|
||||
class DisjointRectSet;
|
||||
|
||||
class Emoji;
|
||||
class Font;
|
||||
class GlyphBitmap;
|
||||
|
@ -44,6 +47,9 @@ class Rect;
|
|||
template<typename T>
|
||||
class Quad;
|
||||
|
||||
using DisjointIntRectSet = DisjointRectSet<int>;
|
||||
using DisjointFloatRectSet = DisjointRectSet<float>;
|
||||
|
||||
using IntLine = Line<int>;
|
||||
using FloatLine = Line<float>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue