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

LibGfx: Change one instance of 'colour' to 'color'

The system's official language is American English.
This commit is contained in:
Linus Groh 2022-05-29 11:57:55 +01:00 committed by Andreas Kling
parent 173dcfb7cb
commit de90faa4c4

View file

@ -322,9 +322,9 @@ Gfx::AntiAliasingPainter::Range Gfx::AntiAliasingPainter::draw_ellipse_part(
return;
min_paint_x = min(x, min_paint_x);
max_paint_x = max(x, max_paint_x);
auto pixel_colour = color;
pixel_colour.set_alpha((alpha * color.alpha()) / 255);
m_underlying_painter.set_pixel(center + IntPoint { x, y }, pixel_colour, true);
auto pixel_color = color;
pixel_color.set_alpha((alpha * color.alpha()) / 255);
m_underlying_painter.set_pixel(center + IntPoint { x, y }, pixel_color, true);
};
auto fill = [&](int x, int ymax, int ymin, int alpha) {