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

LibGfx: Templatize Gfx::Triangle

Previously this was limited to integer triangles, but I want to use it
with floats, so let's start by templatizing the class.
This commit is contained in:
Andreas Kling 2022-04-07 13:59:16 +02:00
parent f602bbf135
commit 1f346a490b
3 changed files with 34 additions and 22 deletions

View file

@ -28,6 +28,8 @@ class Path;
class ShareableBitmap;
class StylePainter;
struct SystemTheme;
template<typename T>
class Triangle;
template<typename T>