cbpporter Messages: 1427 Registered: September 2007
Ultimate Contributor
You need to pass coordinates with an added 0.5 for them to look sharp. The integer coordinate is actually at the "border between two pixels", that is why it is rendered as such. Adding 0.5 places it in the "middle" of the pixel.
So don't draw a box from (0, 0) to (9, 9), draw if from (0.5, 0.5) to (9.5, 9.5).