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

LibGfx: Remove an unnecessary FIXME

Clipping in diagonal line drawing has already been implemented a long
time ago.
This commit is contained in:
Arda Cinar 2023-01-12 14:59:17 +03:00 committed by Jelle Raaijmakers
parent c8d7bf5449
commit 9418586990

View file

@ -2026,7 +2026,6 @@ void Painter::draw_line(IntPoint a_p1, IntPoint a_p2, Color color, int thickness
swap(point1, point2); swap(point1, point2);
} }
// FIXME: Implement clipping below.
int const dx = point2.x() - point1.x(); int const dx = point2.x() - point1.x();
int const dy = point2.y() - point1.y(); int const dy = point2.y() - point1.y();
int error = 0; int error = 0;