summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/Painter.h
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2023-01-15 22:18:46 +0000
committerAndreas Kling <kling@serenityos.org>2023-01-22 18:15:52 +0100
commitf3c0987afe4148d204143f09acade8bd9d178321 (patch)
tree144db555605ce59c0d02c0d6bc65bbb91a33f70f /Userland/Libraries/LibGfx/Painter.h
parent223cedc8969c396f625f1c43259f977d5d06ee6f (diff)
downloadserenity-f3c0987afe4148d204143f09acade8bd9d178321.zip
LibGfx: Add Painter::fill_rect(rect, paint_style)
The usual fill_rect()... but with style :^)
Diffstat (limited to 'Userland/Libraries/LibGfx/Painter.h')
-rw-r--r--Userland/Libraries/LibGfx/Painter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGfx/Painter.h b/Userland/Libraries/LibGfx/Painter.h
index 537c16260b..5f4804ca01 100644
--- a/Userland/Libraries/LibGfx/Painter.h
+++ b/Userland/Libraries/LibGfx/Painter.h
@@ -48,6 +48,7 @@ public:
void clear_rect(IntRect const&, Color);
void fill_rect(IntRect const&, Color);
+ void fill_rect(IntRect const&, PaintStyle const&);
void fill_rect_with_dither_pattern(IntRect const&, Color, Color);
void fill_rect_with_checkerboard(IntRect const&, IntSize, Color color_dark, Color color_light);
void fill_rect_with_gradient(Orientation, IntRect const&, Color gradient_start, Color gradient_end);