29.11.2012 Views

MetaFun - Pragma ADE

MetaFun - Pragma ADE

MetaFun - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

192<br />

13<br />

SampleText ("\colored[a=1,t=.5,r=1]Much Of This") ;<br />

SampleText ("\colored[a=1,t=.5,g=1]Functionality") ;<br />

SampleText ("\colored[a=1,t=.5,b=1]Was Written") ;<br />

SampleText ("\colored[a=1,t=.5,c=1]While Listening") ;<br />

SampleText ("\colored[a=1,t=.5,m=1]To the CD's Of") ;<br />

SampleText ("\colored[a=1,t=.5,y=1]Tori Amos") ;<br />

As expected we get:<br />

While To Much Functionality<br />

Was Tori theWritten Listening Amos CD's Of This Of<br />

Currently the 12 in PDF available transparency methods are supported. 13 You can use both numbers<br />

and names. As you may expect, both CONTEXT and METAFUN support transparency in the same way.<br />

Figure 8.1 shows how the method affects the result.<br />

normal multiply screen overlay<br />

softlight hardlight colordodge colorburn<br />

darken lighten difference exclusion<br />

Figure 8.1 The 12 transparancy alternatives by name.<br />

In CONTEXT a transparent color is defined in a similar way as ‘normal' colors. The transparency<br />

method is specified with the a key (either by number or by name) and the factor t.<br />

In the future we may also support more control over the individual methods.<br />

Special effects Transparency

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!