3 pixel wide squares have one pixel missing

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.
 
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.


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

C

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top