mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:48:11 +00:00
LibGfx: Support vertical gradient fill (not just horizontal) :^)
This commit is contained in:
parent
098f1cd0ca
commit
cbd7effd3b
2 changed files with 31 additions and 10 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue