1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:57:35 +00:00

LibGfx: Templatize Point, Size, and Rect

This commit is contained in:
Matthew Olsson 2020-07-25 21:31:47 -07:00 committed by Andreas Kling
parent 7a1c328417
commit 335916d8db
33 changed files with 404 additions and 835 deletions

View file

@ -33,9 +33,6 @@ class CharacterBitmap;
class Color;
class DisjointRectSet;
class Emoji;
class FloatPoint;
class FloatRect;
class FloatSize;
class Font;
class GlyphBitmap;
class ImageDecoder;
@ -43,14 +40,29 @@ class Painter;
class Palette;
class PaletteImpl;
class Path;
class IntPoint;
class IntRect;
class ShareableBitmap;
class IntSize;
class StylePainter;
struct SystemTheme;
class Triangle;
template<typename T>
class Point;
template<typename T>
class Size;
template<typename T>
class Rect;
using IntRect = Rect<int>;
using FloatRect = Rect<float>;
using IntPoint = Point<int>;
using FloatPoint = Point<float>;
using IntSize = Size<int>;
using FloatSize = Size<float>;
enum class BitmapFormat;
enum class ColorRole;
enum class TextAlignment;