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:
parent
c8d7bf5449
commit
9418586990
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue