On Oct 13, 2006, at 12:55 UTC, Richard wrote:

> In the method:
>    Graphics.DrawLine(x1,y1,x2,y2)
> If x1=x2 and y1=y2, there is no line drawn. Yes, it's only 1 pixel  
> but I would expect a 1-pixel line.

I wouldn't; the length of this line is x2-x1=0, and the height is
y2-y1=0.  That's not a 1-pixel line, that's a 0-pixel line.  Correct
behavior would be to draw nothing.  (Though I can imagine poorly
thought-out systems that would actually draw a pixel under these
circumstances, I would consider such a system to be flawed.)

> Any suggestions?

Yes: don't do that.  :)

Best,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to