I replied back in the bug DrawRect actually needs to have a +1 removed
then you should not
need this plus one.

Don't think you need the second change you would have to prove it.

Anyway check the bug.

You can quit ccing  the dev list :)
I did one last time since its been quite :)

Mike


On 7/6/06, Davide Viti <[EMAIL PROTECTED]> wrote:
> Hi Mike,
> that's what I just finished to test:)
> It fixes the horizontal lines, but the vertical one is still
> visible.
> Actually in my patch I also (blindly) changed the other instance of 
> FillRectangle()
> but i was not sure about that
> Here it is:
>            impl->surface->FillRectangle (impl->surface,
> -                                        points->x, points->y, 1, 1);
> +                                        points->x, points->y, 2, 2);
>
>
> ciao,
> Davide
>
>
>
> On Thu, Jul 06, 2006 at 04:58:50PM -0700, Mike Emmel wrote:
> > I think we need to expand FillRect by +1
> >
> > Here is a propsed patch see if it works for you.
> >
> > Index: gdkdrawable-directfb.c
> > ===================================================================
> > RCS file: /cvs/gnome/gtk+/gdk/directfb/gdkdrawable-directfb.c,v
> > retrieving revision 1.4
> > diff -u -r1.4 gdkdrawable-directfb.c
> > --- gdkdrawable-directfb.c      14 Jun 2006 21:54:25 -0000      1.4
> > +++ gdkdrawable-directfb.c      6 Jul 2006 23:57:53 -0000
> > @@ -445,8 +445,8 @@
> >               impl->surface->FillRectangle (impl->surface,
> >                                             region->x1,
> >                                             region->y1,
> > -                                            region->x2 - region->x1,
> > -                                            region->y2 - region->y1);
> > +                                            region->x2 - region->x1+1,
> > +                                            region->y2 - region->y1+1);
> >             }
> >         }
> >
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFEraXpax2slmJA7HoRAipBAKCLvpD9T+7JwH4ZhtBt9YvHDz232QCgtP30
> T7ZEpPN43f1CUbGwn9Px6fY=
> =bkxH
> -----END PGP SIGNATURE-----
>
>
>

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to