When I zoom in on your test image (same method as used above, ie no fancy smoothing) I see antialiasing of what are supposed to be 1-pixel lines:B4A test, no antialiasing:
And the result.B4X:rctTest.Initialize(10, 500, 60, 500) cvsMain.DrawRect(rctTest, Colors.Red, False, 1) rctTest.Initialize(10, 520, 60, 521) cvsMain.DrawRect(rctTest, Colors.Red, False, 1) rctTest.Initialize(10, 540, 60, 542) cvsMain.DrawRect(rctTest, Colors.Red, False, 1) rctTest.Initialize(10, 560, 60, 563) cvsMain.DrawRect(rctTest, Colors.Red, False, 1)
View attachment 82765
Last edited: