[cairo] PDF Backend for cairo
Keith Packard
keithp at keithp.com
Tue Nov 30 21:37:20 PST 2004
Around 22 o'clock on Nov 30, Ross McFarland wrote:
> take a look at that file in a pdf viewer that supports alpha. the
> problem is the boundaries between tessilated traps. they overlaps ever
> so slightly and since that leaves two regions of the same color that are
> some amount transparent they add up to more of that color than should
> be.
The X solution here is to construct a mask holding all of the trapezoids
and then use that to draw the final object. Using an ADD mode for merging
the trapezoids together ensures that solid figures end up without seams.
Can you create a temporary alpha mask in PDF?
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20041130/fa7907cc/attachment.pgp
More information about the cairo
mailing list