Clarification Re: [cairo] Mac Tiger Core Image

MenTaLguY mental at rydia.net
Thu Mar 17 21:40:00 PST 2005


On Thu, 2005-03-17 at 19:27, Bill Spitzak wrote:

> I think my proposed solution of having an "aliased lineto" would work. 
> In this example there would be 8 uses of it, for each straight edge of 
> the curved segments. Figuring out *which* straight lines to do this to 
> is a job for higher-level code, or maybe should be added as part of SVG.

As someone who would have to write such higher-level code, I'd
appreciate the proposal of a feasible algorithm.

I hadn't originally intended to revive this thread until I had a patch
in hand; talk is cheap, working code speaks volumes.

My current intent is to add a function to the image backend (only), to
disable/enable partial coverage simulation.  Mostly it'll just require
using a different trapezoid drawing function when simulation is turned
off.

On the other hand, have you considered how aliased_lineto might be
implemented in the various backends?  I'm not certain it's possible for
many of them.

-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050318/e22d60a8/attachment.pgp


More information about the cairo mailing list