here is a magnified screenshot of the problem :
on the left, I used Graphics::drawLine(float startX, float startY, float endX, float endY)
on the right, I used Graphics::drawLine (const float startX, const float startY, const float endX, const float endY, const float lineThickness)
with lineThickness = 1.0f
the two functions don’t produce the same result,
moreover some blue pixels appear when the slope is > 1.
I only tried this on windows,
Maybe some pixels values are going too far and the blue value is coming from the next one. this could make sense on win32 cause it is in the BGRA order …