3 pixel wide squares have one pixel missing

  • Thread starter Thread starter C
  • Start date Start date
C

C

This is an interesting phenomenon. Using DrawRectangle, I am showing
some points on plots as 3 pixel wide squares (no good way of drawing 3
pixel diameter circles). Almost all of them seem to have one corner
pixel missing. What new do I need to learn?

Thanks.
 
This is an interesting phenomenon. Using DrawRectangle, I am showing
some points on plots as 3 pixel wide squares (no good way of drawing 3
pixel diameter circles). Almost all of them seem to have one corner
pixel missing. What new do I need to learn?

Thanks.


I don't find anything on the Internet.
Has Microsoft messed it up big time?
 
I don't find anything on the Internet.
Has Microsoft messed it up big time?

Problem solved. I now use Integer instead of Single for the points.
Perhaps it makes sense that the location in pixels should anyway have
been in Integer. Now all the squares are proper squares without one
corner missing.
 
Back
Top