Building Web Applications with SVG - Cdn.oreilly.com
Building Web Applications with SVG - Cdn.oreilly.com
Building Web Applications with SVG - Cdn.oreilly.com
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
x Contents<br />
Multivalued Interpolation ....................................96<br />
Interacting <strong>with</strong> Animation ...................................98<br />
Scripting <strong>SVG</strong> ...................................................101<br />
Getting Started <strong>with</strong> JavaScript and <strong>SVG</strong> ......................102<br />
Using Script to Find an Object and Change Its Attributes .......103<br />
Adding New Content to an <strong>SVG</strong> Document ...................109<br />
Cloning Nodes ............................................111<br />
Evaluating Nodes (getAttribute) .............................113<br />
<strong>SVG</strong> DOM .................................................115<br />
Measurements ............................................122<br />
Messages Between SMIL and Script ..........................132<br />
Passing Messages Between HTML and <strong>SVG</strong> ...................135<br />
Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .143<br />
Chapter 5 <strong>SVG</strong> Filters 145<br />
The Basic Element .......................................146<br />
The Basic Primitives .............................................146<br />
..........................................147<br />
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .149<br />
...................................153<br />
..........................................157<br />
.......................................158<br />
Utility Filters ....................................................160<br />
Simple Utility Filters ........................................160<br />
and ..................................161<br />
and ....................................162<br />
...........................................163<br />
numOctaves ..............................................164<br />
Lighting Effects .................................................175<br />
Ways of Combining Filters ........................................177<br />
..........................................177<br />
................................................180<br />
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .181<br />
.....................................184