Re: does system.drawline not work?

Stifu <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
I use the DrawLine method in my own app, and it works fine in Mono (on
openSUSE, although worked with older Ubuntu releases).
I guess that either the bug you're seeing is more complex than that (ie:
other things are needed to trigger it), or it's possibly Ubuntu specific
(since they repackage everything themselves, it can lead to new bugs).

A test case would help.


mdfederici wrote:
> 
> I'm using  Mono JIT compiler version 2.4.2.3 (Debian 2.4.2.3+dfsg-2) on
> Ubuntu Karmic. When I use system.drawline, I only see a line if the line
> is parallel to either the x or y axis. If the angle is sloped in any way,
> it simply doesn't render. This is incredibly frustrating.  Is there an
> existing bug for this problem? I can't seem to find one. I find it hard to
> believe that no one else has noticed this.
> 
> Attached is my rendered output for the following code (notice the lack of
> a sloped line):
> 
> using(Pen stroke = new Pen(new SolidBrush(Color.Wheat), 1.0f))
> {
> 	graphics.DrawLine(stroke, 0, 10, 100, 10);
> 	graphics.DrawLine(stroke, 0, 20, 100, 20);
> 	graphics.DrawLine(stroke, 0, 20, 100, 10);
> }
> 
>  http://old.nabble.com/file/p26833804/noline.jpg 
> 

-- 
View this message in context: http://old.nabble.com/does-system.drawline-not-work--tp26833804p26834291.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.