Scalable Vector Graphics (SVG) 1.1 Specification · PDF fileThis specification defines the...

719
Scalable Vector Graphics (SVG) 1.1 Specification W3C Recommendation 14 January 2003 This version: http://www.w3.org/TR/2003/REC-SVG11-20030114/ Latest version: http://www.w3.org/TR/SVG11/ Previous version: http://www.w3.org/TR/2002/PR-SVG11-20021115/ Editors: Jon Ferraiolo, Adobe Systems < [email protected]> (version 1.0) •• • (FUJISAWA Jun), Canon < [email protected]> (modularization and DTD) Dean Jackson, W3C/CSIRO < [email protected]> (version 1.1) Authors: See author list Please refer to the errata for this document, which may include some normative corrections. This document is also available in these non-normative packages: zip archive of HTML (without external dependencies) and PDF. See also the translations of this document. Copyright © 2003 W3C ® ( MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Abstract This specification defines the features and syntax for Scalable Vector Graphics (SVG) Version 1.1, a modularized language for describing two-dimensional vector and mixed vector/raster graphics in XML. Status of this document

Transcript of Scalable Vector Graphics (SVG) 1.1 Specification · PDF fileThis specification defines the...

  • Scalable Vector Graphics (SVG) 1.1 Specification

    W3C Recommendation 14 January 2003

    This version:http://www.w3.org/TR/2003/REC-SVG11-20030114/

    Latest version:http://www.w3.org/TR/SVG11/

    Previous version:http://www.w3.org/TR/2002/PR-SVG11-20021115/

    Editors:Jon Ferraiolo, Adobe Systems (version 1.0) (FUJISAWA Jun), Canon (modularization and DTD)Dean Jackson, W3C/CSIRO (version 1.1)

    Authors:See author list

    Please refer to the errata for this document, which may include some normative corrections.

    This document is also available in these non-normative packages: zip archive of HTML (without external dependencies) and PDF.

    See also the translations of this document.

    Copyright 2003 W3C (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply.

    Abstract

    This specification defines the features and syntax for Scalable Vector Graphics (SVG) Version 1.1, a modularized language for describing two-dimensional vector and mixed vector/raster graphics in XML.

    Status of this document

    http://www.w3.org/http://www.w3.org/TR/2003/REC-SVG11-20030114/http://www.w3.org/TR/SVG11/http://www.w3.org/TR/2002/PR-SVG11-20021115/mailto:[email protected]:[email protected]:[email protected]://www.w3.org/2003/01/REC-SVG11-20030114-erratahttp://127.0.0.1/~dino/w3.org/TR/2003/pdf/REC-SVG11-20030114.ziphttp://127.0.0.1/~dino/w3.org/TR/2003/pdf/REC-SVG11-20030114.pdfhttp://www.w3.org/Graphics/SVG/svg-updates/translationshttp://www.w3.org/Consortium/Legal/ipr-notice#Copyrighthttp://www.w3.org/http://www.lcs.mit.edu/http://www.ercim.org/http://www.keio.ac.jp/http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimerhttp://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarkshttp://www.w3.org/Consortium/Legal/copyright-documentshttp://www.w3.org/Consortium/Legal/copyright-software

  • This section describes the status of this document at the time of its publication. Other documents may supersede this document. The latest status of this document series is maintained at the W3C.

    This document is the 14 January 2003 Recommendation of the SVG 1.1 specification. SVG 1.1 serves two purposes: to provide a modularization of SVG based on SVG 1.0 and to include the errata found so far in SVG 1.0. The SVG Working Group believes SVG 1.1 has been widely reviewed by the community, developers and other W3C groups. The list of changes made in this version of the document is available.

    Public comments on this Recommendation are welcome. Please send them to [email protected]: the public email list for issues related to vector graphics on the Web. This list is archived and senders must agree to have their message publicly archived from their first posting. To subscribe send an email to [email protected] with the word subscribe in the subject line.

    The W3C SVG Working Group have released a test suite for SVG 1.1 along with an implementation report.

    The latest information regarding patent disclosures related to this document is available on the Web. As of this publication, the SVG Working Group are not aware of any royalty-bearing patents they believe to be essential to SVG.

    This document has been produced by the W3C SVG Working Group as part of the Graphics Activity within the W3C Interaction Domain. The goals of the W3C SVG Working Group are discussed in the W3C SVG Charter (W3C Members only). The W3C SVG Working Group maintains a public Web page, http://www.w3.org/Graphics/SVG/, that contains further background information. The authors of this document are the SVG Working Group participants.

    A list of current W3C Recommendations and other technical documents can be found at http://www.w3.org/TR/. W3C publications may be updated, replaced, or obsoleted by other documents at any time.

    Available languages

    The English version of this specification is the only normative version. However, for translations in other languages see http://www.w3.org/Graphics/SVG/svg-updates/translations.html.

    Table of Contents

    Expanded Table of Contents

    http://www.w3.org/TR/SVG11/changes.htmlhttp://www.w3.org/TR/SVG11/changes.htmlmailto:[email protected]:[email protected]://lists.w3.org/Archives/Public/www-svg/http://www.w3.org/Graphics/SVG/Test/http://www.w3.org/Graphics/SVG/Test/20021115/matrix.htmlhttp://www.w3.org/Graphics/SVG/Disclosureshttp://www.w3.org/Graphics/SVG/http://www.w3.org/Graphics/Activityhttp://www.w3.org/Interaction/http://www.w3.org/Graphics/SVG/Group/SVGcharter2.htmlhttp://www.w3.org/Graphics/SVG/http://www.w3.org/TR/http://www.w3.org/Graphics/SVG/svg-updates/translations.htmlhttp://www.w3.org/Graphics/SVG/svg-updates/translations.html

  • Copyright notice

    1 Introduction 2 Concepts 3 Rendering Model 4 Basic Data Types and Interfaces 5 Document Structure 6 Styling 7 Coordinate Systems, Transformations and Units 8 Paths 9 Basic Shapes 10 Text 11 Painting: Filling, Stroking and Marker Symbols 12 Color 13 Gradients and Patterns 14 Clipping, Masking and Compositing 15 Filter Effects 16 Interactivity 17 Linking 18 Scripting 19 Animation 20 Fonts 21 Metadata 22 Backwards Compatibility 23 Extensibility

    Appendix A: DTD Appendix B: SVG Document Object Model (DOM) Appendix C: IDL Definitions Appendix D: Java Language Binding Appendix E: ECMAScript Language Binding Appendix F: Implementation Requirements Appendix G: Conformance Criteria Appendix H: Accessibility Support Appendix I: Internationalization Support Appendix J: Minimizing SVG File Sizes Appendix K: References Appendix L: Element Index Appendix M: Attribute Index Appendix N: Property Index Appendix O: Feature Strings Appendix P: Index

  • The authors of the SVG 1.1 specification are the people who participated in the SVG Working Group as members or alternates.

    Authors: Ola Andersson, ZOOMON AB Phil Armstrong, Corel Corporation Henric Axelsson, Ericsson AB Robin Berjon, Expway Benot Bzaire, Corel Corporation John Bowler, Microsoft Corporation Craig Brown, Canon Information Systems Research Australia Mike Bultrowicz, Savage Software Tolga Capin, Nokia Milt Capsimalis, Autodesk Inc. Mathias Larsson Carlander, Ericsson AB Jakob Cederquist, ZOOMON AB Charilaos Christopoulos, Ericsson AB Richard Cohn, Adobe Systems Inc. Lee Cole, Quark Don Cone, America Online Inc. Alex Danilo, Canon Information Systems Research Australia Thomas DeWeese, Eastman Kodak David Dodds, Lexica Andrew Donoho, IBM David Duce, Oxford Brookes University Jerry Evans, Sun Microsystems Jon Ferraiolo, Adobe Systems Inc. Darryl Fuller, Schema Software (FUJISAWA Jun), Canon Scott Furman, Netscape Communications Corporation Brent Getlin, Macromedia Peter Graffagnino, Apple Rick Graham, BitFlash Vincent Hardy, Sun Microsystems Inc. (HAYAMA Takanari), KDDI Research Labs Lofton Henderson, OASIS Jan Christian Herlitz, Excosoft Alan Hester, Xerox Corporation Bob Hopgood, RAL (CCLRC) (ISHIKAWA Masayasu), W3C Dean Jackson, W3C/CSIRO (W3C Team Contact) Christophe Jolif, ILOG S.A. Lee Klosterman, Hewlett-Packard (KOBAYASHI Arei), KDDI Research Labs Thierry Kormann, ILOG S.A. Yuri Khramov, Schema Software Kelvin Lawrence, IBM Hkon Lie, Opera

  • Chris Lilley, W3C (Working Group Chair) Philip Mansfield, Schema Software Kevin McCluskey, Netscape Communications Corporation (MINAKUCHI Mitsuru), Sharp Corporation Luc Minnebo, Agfa-Gevaert N.V. Tuan Nguyen, Microsoft Corporation (ONO Shuichiro), Sharp Corporation Antoine Quint, Fuchsia Design (formerly of ILOG) (SAGARA Takeshi), KDDI Research Labs Troy Sandal, Visio Corporation Peter Santangeli, Macromedia Haroon Sheikh, Corel Corporation Brad Sipes, ZOOMON AB Peter Sorotokin, Adobe Systems Inc. Gavriel State, Corel Corporation Robert Stevahn, Hewlett-Packard Timothy Thompson, Eastman Kodak (UEDA Hirotaka), Sharp Corporation Rick Yardumian, Canon Development Americas Charles Ying, Openwave Systems Inc. Shenxue Zhou, Quark

    Acknowledgments

    The SVG Working Group would like to acknowledge the great many people outside of the SVG Working Group who help with the process of developing the SVG 1.1 specification. These people are too numerous to list individually. They include but are not limited to the early implementers of the SVG 1.0 and 1.1 languages (including viewers, authoring tools, and server-side transcoders), developers of SVG content, people who have contributed on the [email protected] and [email protected] email lists, other Working Groups at the W3C, and the W3C Team. SVG 1.1 is truly a cooperative effort between the SVG Working Group, the rest of the W3C, and the public and benefits greatly from the pioneering work of early implementers and content developers, feedback from the public, and help from the W3C team.

    previous next contents elements attributes properties index

    http://127.0.0.1/~dino/w3.org/TR/2003/pdf/index.html#minitochttp://validator.w3.org/http://jigsaw.w3.org/css-validator/

  • previous next contents elements attributes properties index

    14 January 2003

    Expanded Table of Contents

    Expanded Table of Contents Copyright notice

    W3C Document Copyright Notice and License W3C Software Copyright Notice and License

    1 Introduction 1.1 About SVG

    1.1.1 Modularization 1.1.2 Element and Attribute Collections 1.1.3 Profiling