1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:47:47 +00:00

LibGfx: Implement checkerboard drawing for Gfx::Painter

This commit is contained in:
Tibor Nagy 2020-04-05 13:01:13 +02:00 committed by Andreas Kling
parent de32fd0347
commit e14d27867c
2 changed files with 20 additions and 0 deletions

View file

@ -45,6 +45,7 @@ public:
~Painter();
void clear_rect(const Rect&, Color);
void fill_rect(const Rect&, Color);
void fill_rect_with_checkerboard(const Rect&, const Size&, Color color_dark, Color color_light);
void fill_rect_with_gradient(Orientation, const Rect&, Color gradient_start, Color gradient_end);
void fill_rect_with_gradient(const Rect&, Color gradient_start, Color gradient_end);
void draw_rect(const Rect&, Color, bool rough = false);