Chapter 24 of The XML 1.1 Bible, SVG
Listing 24-1: An SVG Document That Represents a Red Circle with a Blue Outline
Listing 24-2: An HTML Document in Which Listing 24-1 Is Embedded
Listing 24-3: An HTML Document in Which Listing 24-1 Is Embedded
Listing 24-4: A Partial Checkerboard Made Up out of rects
Listing 24-5: A Pattern of Nine Rounded rects
Listing 24-6: An SVG Bull’s-eye
Listing 24-7: Two Ellipses Perpendicular to Each Other
Listing 24-8: A Right Triangle Formed from Three Lines
Listing 24-9: Three Polygons
Listing 24-10: Tic-Tac-Toe
Listing 24-11: A Pie Formed by Eight Arc Paths
Listing 24-12: Bézier Curves
Listing 24-13: Four Text Elements, One for Each Line of a Poem
Listing 24-14: Text on a Path
Listing 24-15: Placing a JPEG Image in an SVG Picture
Listing 24-16: Using CSS Properties to Set the Size of an Embedded SVG Picture
Listing 24-17: A Circle That Doesn’t Fit in Its Viewport
Listing 24-18: Using a viewBox Attribute to Adjust the Local Coordinate System
Listing 24-19: Using a viewBox Attribute to Adjust the Local Coordinate System
Listing 24-20: Nonuniform Coordinate Systems Squeeze Shapes If the Aspect Ratio Isn’t Preserved
Listing 24-21: A Checkerboard
Listing 24-22: A Pie Formed by Eight Rotated Copies of One Wedge
Listing 24-23: An Exploded Pie
Listing 24-24: Scaled Pie
Listing 24-25: Skewed Text
Listing 24-26: Nine Circles Linked to Different Sites
Listing 24-27: RDF and XHTML Metadata Embedded in an SVG Document
Copyright 2004
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 1, 2004