LibGfx: Support vertical gradient fill (not just horizontal) :^)

This commit is contained in:
Andreas Kling 2020-03-30 16:59:45 +02:00
commit cbd7effd3b
Notes: sideshowbarker 2024-07-19 08:02:57 +09:00
2 changed files with 31 additions and 10 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_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);
void draw_bitmap(const Point&, const CharacterBitmap&, Color = Color());