incorrect line rendering

Pat Kane pekane52 at gmail.com
Sun Oct 14 04:51:52 PDT 2007


On 10/13/07, Marco <marcodefreitas at gmail.com> wrote:
  > I have noticed that arcs and lines in certain angles are rendered
ugly in X11.

Attached is a little Xlib program that draws both 0  and 1 width
lines.  The 0 width lines look much better on my box with
xorg-x11-server 1.3.0.0-22.fc8  and I810 driver.
Some of the width 1 lines look very  ugly.

Pat
---


On 10/13/07, Marco <marcodefreitas at gmail.com> wrote:
> Graeme Gill escreveu:
> > Michal Bozon wrote:
> >
> >> I have noticed that arcs and lines in certain angles are rendered ugly in X11.
> >  > They are not the same as would be the result of the Bresenham's rasterization algorithm.
> >
> > The line rendering depends on the line width. Zero width lines in X11 don't
> > have a precisely defined rendering, but are meant to be fast. 1 pixel lines
> > and above, do have a defined rendering. Often Bresenham's algorithm is
> > used for zero width lines. What width lines are you viewing ?
> >
> > Graeme Gill.
>
> http://www.brimages.com/uploads/18/def768cf14.png
>
> --
> Marco de Freitas,
> NBR para a Internet já! Porque meu navegador não é penico.
>
> http://www.softwarelivre.org/news/2472
> http://www.w3.org/2003/03/Translations/byLanguage?language=pt-br
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xlines.c
Type: text/x-csrc
Size: 1644 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071014/1482dc9b/attachment.c>


More information about the xorg mailing list