[NTG-context] Shading to transparent using withshademethod
lists at homerow.info
Thu Jan 28 13:53:08 CET 2016
On Thu, 28 Jan 2016 12:33:39 +0100
Hans Hagen <pragma at wxs.nl> wrote:
> >>> How to make transparent shadings work with the new mechanism?
> >> withtransparency (1,.5)
> > However, this makes the entire shade transparent. How to shade from
> > one colour to transparent using withtransparency to achieve an
> > effect like in the example below?
> that isn't how shading works,
…any longer. I just confirmed that it used to work on an older
installation. Just sayin'
> it's a vector from one color to the
> other (same color space eventually) and transparency is a property of
> the whole
That's how the new mechanism works, apparently. But transparency can
AFAIK also be a property of the colour. So transparency is a vector
from one colour to the other, each possibly being partly or entirely
But as I don't understand the inner internals, I believe there's a
good reason this has been changed.
More information about the ntg-context