mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 17:27:46 +00:00
LibGfx: Add AntiAliasingPainter::fill_rect
This function is able to draw rectangles of floating-point pixel precision.
This commit is contained in:
parent
049c1a536c
commit
f9b08272db
2 changed files with 49 additions and 0 deletions
|
@ -35,6 +35,8 @@ public:
|
|||
AlphaSubtract
|
||||
};
|
||||
|
||||
void fill_rect(FloatRect const&, Color);
|
||||
|
||||
void fill_circle(IntPoint const& center, int radius, Color, BlendMode blend_mode = BlendMode::Normal);
|
||||
void fill_ellipse(IntRect const& a_rect, Color, BlendMode blend_mode = BlendMode::Normal);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue