Re: Sub-pixel area computations

Keith Packard <[email protected]>
Newsgroups gmane.comp.xfree86.render
Message-ID <E173K3V-00088y-00@localhost>
Around 16 o'clock on May 2, Carl Worth wrote:

> So, that would be moving away from what I think you had in mind for
> the definition of "precise", but it would prevent the specification
> from mandating a non-useful implementation.

We already have "imprecise" polygons -- those which follow the basic rules 
but which have unspecified pixelization.  The idea of precise polygons is 
to build something which is guaranteed to generate the same result on all 
drawables, and which can be exactly reproduced on the client side.

If this requires specifying the computation method, then we'll go with 
that and leave algorithmic variation to the imprecise crowd.  Just as long 
as the specified algorithm generates reasonable results, follows the rules 
and is fast enough to avoid needing a software imprecise implementation.

Keith Packard        XFree86 Core Team        Compaq Cambridge Research Lab
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.