Re: Cubic Bezier Splines

Keith Packard <[email protected]> Mon, 12 Aug 2002 08:37:31 -0700
Newsgroups gmane.comp.xfree86.render
Message-ID <E17eHGB-0001Zb-00@localhost>
Around 7 o'clock on Aug 12, [email protected] wrote:

> But... I was noticing some lumpyness in satuatation.  Trying
> xgamma -gamma 2.2 (for my monitor) only made things worse...
>
> Are pixels getting painted more than once in the current implementation?

The sample shown represents the edges of the spline as a series of line 
segments, each one drawn separately.  So, the result is that many of the 
pixels are drawn many time.  We'll convert the spline edges into a polygon 
and fill that.

Also, the tolerance when drawing that spline was rather coarse (1 pixel) 
which can generate visible blockiness along the edges; this wouldn't 
affect the thickness of the lines.

Keith Packard        XFree86 Core Team        HP Cambridge Research Lab