but it will draw "fill" objects. It is odd and it is bizarre but is exactly zoom 0.60. See love file attached. This is repeatable on my Windows OS and on Gvovkiv Linux OS.
Run the love file with the console open, use the mouse wheel to change the zoom. Zoom to 0.60 and watch the magic.
slime wrote: ↑Mon Oct 23, 2023 6:44 pm
What do you expect a line with less than 1 pixel width that's not centered at the middle of pixels to look like in a pixel grid?
If you offset the line's position by (0.5, 0.5), then the centers of each end will be at the center of a pixel instead of in between 4 pixels.
pgimeno wrote: ↑Tue Oct 24, 2023 12:06 pm
But what about the circle?
It's using a line width that's smaller than 1, which is rarely going to give you a fully visible line.
The technical details for why it's entirely invisible have to do with the smooth line style's implementation reducing the core line width in order for the surrounding outer antialiasing line to not appear super thick. An implementation of line antialiasing that uses a completely different technique (like shader-based AA) might not have that behaviour. But regardless of which implementation is used, a line width that's less than 1 won't give you a fully visible fully opaque line because you've told it to be less than 1 pixel thick.