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
Notes:
sideshowbarker
2024-07-17 02:39:10 +09:00
Author: https://github.com/kuzux Commit: https://github.com/SerenityOS/serenity/commit/9418586990 Pull-request: https://github.com/SerenityOS/serenity/pull/16970
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);
|
||||
}
|
||||
|
||||
// FIXME: Implement clipping below.
|
||||
int const dx = point2.x() - point1.x();
|
||||
int const dy = point2.y() - point1.y();
|
||||
int error = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue