1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:07:44 +00:00

LibGfx: Add Painter::fill_rect(rect, paint_style)

The usual fill_rect()... but with style :^)
This commit is contained in:
MacDue 2023-01-15 22:18:46 +00:00 committed by Andreas Kling
parent 223cedc896
commit f3c0987afe
2 changed files with 20 additions and 0 deletions

View file

@ -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);