[Mono-winforms-list] 1 pixel offset problem

Sebastien Pouliot sebastien at ximian.com
Fri Sep 5 07:53:56 EDT 2008


On Thu, 2008-09-04 at 23:11 -0400, Matt Zyzik wrote:
> On Wed, Jul 30, 2008 at 11:43:04PM -0400, mzyzik at gmail.com wrote:
> > On Mon, Jul 28, 2008 at 02:38:10AM +0300, Ivan N. Zlatev wrote:
> > > mzyzik at gmail.com wrote:
> > > > I see another potentially related bug with drawing. I am trying to draw
> > > > some Bezier curves (with GraphicsPath); and the positioning and
> > > > appearance is way off (at least with respect to MS .NET).
> > > > 
> > > > Can someone comment on this? I have attached source code, makefile, and
> > > > two screenshots (ms.net/windows vs. mono/linux).
> > > > 
> > > 
> > > I see the bad rendering with SVN Head as well. Please file a bug[1] for 
> > > the  System.Drawing component with a good description of the problem, a 
> > > self-contained test case and the screenshots attached.
> > > 
> > > [1] http://mono-project.com/Bugs
> > > 
> > 
> > I just filed a bug (Bug #413461)
> > 
> > --Matt

Hello Matt,

> With some more drawing experiments, I may have uncovered more bugs. I
> need a confirmation. I attached two screenshots of renderings from both
> frameworks (mono and ms.net), and they are noticeably different. 

If you want a confirmation about something then you should define the
differences.

A quick look shows some different colors. However you're using alpha for
those colors and the form's background color is different in the two
screenshots (which can explain the end result difference).

> The
> common source code is attached as well.
> 
> Let me know if these are bugs and if a bug report should be filed.

In doubt always fill a bug report, including a test case (like this one)
and a description of what is, in your opinion, wrong (missing). If it's
not a real bug then it will be closed (with a comment why).

> 
> --Matt
> 
> P.S. I am using libgdiplus-110213 and mono-111509.
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list



More information about the Mono-winforms-list mailing list