PC Review


Reply
Thread Tools Rate Thread

3 pixel wide squares have one pixel missing

 
 
C
Guest
Posts: n/a
 
      9th Aug 2010
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.
 
Reply With Quote
 
 
 
 
C
Guest
Posts: n/a
 
      11th Aug 2010
On 9 elo, 22:54, C <wrong.addres...@gmail.com> wrote:
> 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?
 
Reply With Quote
 
C
Guest
Posts: n/a
 
      11th Aug 2010
On 11 elo, 08:53, C <wrong.addres...@gmail.com> wrote:
> On 9 elo, 22:54, C <wrong.addres...@gmail.com> wrote:
>
> > 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?


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.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pixel =?Utf-8?B?UmljYXJkbyBGdXJ0YWRv?= Microsoft VB .NET 0 11th Sep 2007 05:02 PM
Displaying pixel in a bitmap as a rectangular pixel Piotrekk Microsoft C# .NET 4 20th Aug 2007 06:39 PM
processing huge bitmap pixel by pixel performance Buthrakaur Microsoft Dot NET Compact Framework 3 8th Jan 2007 08:56 AM
Get Pixel Daniel N Microsoft VB .NET 2 26th Jun 2006 01:11 PM
put pixel Bulba008 Microsoft VB .NET 6 8th Dec 2003 11:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:32 PM.