diff options
author | MacDue <macdue@dueutil.tech> | 2022-06-20 12:20:50 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-23 19:13:24 +0100 |
commit | bb48a61d50ed1f1a9c4e0bdec9debfd2d0ad3b22 (patch) | |
tree | dc7200185ce81965e28bd7deeb5ced42356238c0 /Userland/Libraries/LibGfx/AntiAliasingPainter.cpp | |
parent | ff1e61bd11f35bfd34d927347bb57978ecbcdf09 (diff) | |
download | serenity-bb48a61d50ed1f1a9c4e0bdec9debfd2d0ad3b22.zip |
LibGfx: Flatten AntiAliasingPainter::draw_ellipse_part()
This seemed to drop the time spent here a few percent in profiling.
Diffstat (limited to 'Userland/Libraries/LibGfx/AntiAliasingPainter.cpp')
-rw-r--r-- | Userland/Libraries/LibGfx/AntiAliasingPainter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp b/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp index 7cfb82110f..8f0aee5d6a 100644 --- a/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp +++ b/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp @@ -289,7 +289,7 @@ void AntiAliasingPainter::fill_ellipse(IntRect const& a_rect, Color color, Blend draw_ellipse_part(center, radius_b, radius_a, color, true, x_paint_range, blend_mode); } -AntiAliasingPainter::Range AntiAliasingPainter::draw_ellipse_part( +FLATTEN AntiAliasingPainter::Range AntiAliasingPainter::draw_ellipse_part( IntPoint center, int radius_a, int radius_b, Color color, bool flip_x_and_y, Optional<Range> x_clip, BlendMode blend_mode) { /* |