
On 03/08/11 00:02, Josh Andler wrote:
With the opacity, I would expect that it would show through to the "underlying" part of the mesh beneath the overlaps (such that a z-order would exist within the object)... is it not designed in such a way and is this how PDF's meshes work? Meshes seem like they could be exceptional to create effects like fabric or cellophane or other things which might not be completely opaque, but would have overlaps. Just curious.
Cheers, Josh
Mesh gradients in PDF (and cairo which implements the PDF specification of mesh gradients) always overwrite when patches fold over or later patches in the mesh cover earlier patches.
You can still create fancy effects by splitting the patch at the folds and putting the subdivided patches in separate meshes so they will blend with each other when drawn.