Off by 1 (pixel) problem for same sized horizontal Drawline call with different line widths

if you call drawline for drawing a horizontal for same sized line once with width 1 and once with width 8 you get an off by 1 problem. Either the 1 linewidth version is drawing 1 pixel too much or the > 1 linewidth is drawing 1 less. the line is extending vertically so you don’t expect to see that extra pixel. This was tested with latest SDK version so latest simulator version on windows. I did not check and see if this issue also exists on playdate itself

to reproduce all you need is this code:

static int update(void* ud)
{
pd = ud;
pd->graphics->clear(kColorWhite);
pd->graphics->drawLine(10, 170, 150, 170, 1, kColorBlack);
pd->graphics->drawLine(10, 170, 150, 170, 8, kColorBlack);
return 1;
}

see attached screenshot for effect:

seems the device has same issue

it seemed also to be at least reported once here C API: `drawLine` API can "overdraw" by one pixel