1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:37:35 +00:00

LibGfx: Rename draw_ellipse/circle to fill_ellipse/circle

This makes these functions more consistent with the non-aa painter.
This commit is contained in:
MacDue 2022-06-01 00:51:38 +01:00 committed by Andreas Kling
parent f578247cdf
commit 8ac5f625e9
4 changed files with 14 additions and 13 deletions

View file

@ -28,8 +28,9 @@ public:
void translate(float dx, float dy) { m_transform.translate(dx, dy); }
void translate(FloatPoint const& delta) { m_transform.translate(delta); }
void draw_circle(IntPoint const& center, int radius, Color);
void draw_ellipse(IntRect const& a_rect, Color);
void fill_circle(IntPoint const& center, int radius, Color);
void fill_ellipse(IntRect const& a_rect, Color);
void fill_rect_with_rounded_corners(IntRect const&, Color, int radius);
void fill_rect_with_rounded_corners(IntRect const&, Color, int top_left_radius, int top_right_radius, int bottom_right_radius, int bottom_left_radius);