My Account
View Cart
Home
Community
Books & Videos
Safari Books Online
Conferences
Training
School of Technology
About
Complete List
Bestsellers
New Releases
Rough Cuts
Upcoming Titles
Ebooks
By Publisher
By Series
Out of Print
Order Info
Search
Search Tips
Tell a friend
SVG Essentials
By
J. David Eisenberg
February 2002
Pages: 364
|
Table of Contents
|
Index
|
Sample Chapter
|
Colophon
Table of Contents
Chapter 1
Getting Started
Graphics Systems
Scalability
SVG's Role
Creating an SVG Graphic
Chapter 2
Coordinates
The Viewport
Using Default User Coordinates
Specifying User Coordinates for a Viewport
Preserving Aspect Ratio
Nested Systems of Coordinates
Chapter 3
Basic Shapes
Lines
Stroke Characteristics
Rectangles
Circles and Ellipses
The polygon Element
The polyline Element
Line Caps and Joins
Basic Shapes Reference Summary
Chapter 4
Document Structure
Structure and Presentation
Using Styles with SVG
Document Structure -- Grouping and Referencing Objects
Chapter 5
Transforming the Coordinate System
The translate Transformation
The scale Transformation
Sequences of Transformations
Technique: Converting from Cartesian Coordinates
The rotate Transformation
Technique: Scaling Around a Center Point
The skewX and skewY Transformations
Transformation Reference Summary
Chapter 6
Paths
moveto, lineto, and closepath
Relative moveto and lineto
Path Shortcuts
Elliptical Arc
Technique: Converting from Other Arc Formats
Bézier Curves
Path Reference Summary
Paths and Filling
The marker element
Marker Miscellanea
Chapter 7
Patterns and Gradients
Patterns
Gradients
Transforming Gradients and Patterns
Chapter 8
Text
Text Terminology
Simple Attributes and Properties of the text Element
Text Alignment
The tspan element
Setting textLength
Vertical Text
Internationalization and Text
Text on a Path
Whitespace and Text
Case Study -- Adding Text to a Graphic
Chapter 9
Clipping and Masking
Clipping to a Path
Masking
Case Study -- Masking a Graphic
Chapter 10
Filters
How Filters Work
Creating a Drop Shadow
Creating a Glowing Shadow
The feImage Filter
The feComponentTransfer Filter
The feComposite Filter
The feBlend Filter
The feFlood and feTile Filters
Lighting Effects
Accessing the Background
The feMorphology Element
The feConvolveMatrix Element
The feDisplacementMap Element
The feTurbulence Element
Filter Reference Summary
Chapter 11
Animating and Scripting SVG
Animation Basics
How Time Is Measured
Repeated Action
The set Element
The animateColor Element
The animateTransform Element
The animateMotion Element
Using Links in SVG
Scripting SVG
Chapter 12
Generating SVG
Using Perl to Convert Custom Data to SVG
Using Java to Convert XML to SVG
Using XSLT to Convert XML Data to SVG
Chapter 13
Serving SVG Files
Serving Web Files -- The Task at Hand
Partitioning the Task
Setting up the Server
Appendix A
The XML You Need for SVG
What Is XML?
Anatomy of an XML Document
Character Encodings
Validity
XML Namespaces
Tools for Processing XML
Appendix B
Introduction to Stylesheets
Anatomy of a Style
Style Selectors
Internal Stylesheets
Style Selector Classes
Using CSS with SVG
Appendix C
Programming Concepts
Constants
Variables
Assignment and Operators
Arrays
Comments
Conditional Statements
Repeated Actions
Functions
Objects, Properties, and Methods
What, Not How
Appendix D
Matrix Algebra
Matrix Terminology
Matrix Addition
Matrix Multiplication
How SVG Uses Matrix Algebra for Transformations
Appendix E
Creating Fonts
The ttf2svg Utility
Appendix F
Using SVG with Other XML Applications
Referring to an SVG Document in HTML
Referring to an SVG Document in XHTML
Placing SVG Directly Within XHTML Documents
Embedding SVG in XSL Formatting Objects
Colophon
Return to
SVG Essentials