You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
281 lines
18 KiB
281 lines
18 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title>Scalable Vector Graphics (SVG) Tiny 1.2 Specification</title>
|
|
<link rel="stylesheet" href="style/svg-style.css" type="text/css"/>
|
|
<link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-REC" type="text/css"/>
|
|
<link rel="contents" href="expanded-toc.html"/>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="head">
|
|
<p><a href="http://www.w3.org/"><img height="48" width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home" /></a></p>
|
|
<h1 id="pagetitle">Scalable Vector Graphics (SVG) Tiny 1.2 Specification</h1>
|
|
<h2 id="pagesubtitle">W3C Recommendation <em>22 December 2008</em></h2>
|
|
<dl>
|
|
<dt>This version:</dt>
|
|
<dd><a href="http://www.w3.org/TR/2008/REC-SVGTiny12-20081222/">http://www.w3.org/TR/2008/REC-SVGTiny12-20081222/</a></dd>
|
|
<dt>Latest version:</dt>
|
|
<dd><a href="http://www.w3.org/TR/SVGTiny12/">http://www.w3.org/TR/SVGTiny12/</a></dd>
|
|
<dt>Previous version:</dt>
|
|
<dd><a href="http://www.w3.org/TR/2008/PR-SVGTiny12-20081117/">http://www.w3.org/TR/2008/PR-SVGTiny12-20081117/</a></dd>
|
|
<dt>Editors:</dt>
|
|
<dd>Ola Andersson (Ikivo) <<a href="mailto:ola.andersson@ikivo.com">ola.andersson@ikivo.com</a>></dd>
|
|
<dd>Robin Berjon (Expway) <<a href="mailto:robin.berjon@expway.fr">robin.berjon@expway.fr</a>></dd>
|
|
<dd>Erik Dahlström (Opera Software) <ed@opera.com></dd>
|
|
<dd>Andrew Emmons (BitFlash) <<a href="mailto:andrew.emmons@bitflash.com">andrew.emmons@bitflash.com</a>></dd>
|
|
<dd>Jon Ferraiolo (Adobe Systems until May 2006) <<a href="mailto:jon.ferraiolo@adobe.com">jon.ferraiolo@adobe.com</a>></dd>
|
|
<dd>Anthony Grasso (Canon, Inc.) <<a href="mailto:anthony.grasso@cisra.canon.com.au">anthony.grasso@cisra.canon.com.au</a>></dd>
|
|
<dd>Vincent Hardy (Sun Microsystems, Inc.) <<a href="mailto:vincent.hardy@sun.com">vincent.hardy@sun.com</a>></dd>
|
|
<dd>Scott Hayman (Research In Motion Limited)</dd>
|
|
<dd><a href="http://www.w3.org/People/Dean/">Dean Jackson</a> (W3C) <<a href="mailto:dean@w3.org">dean@w3.org</a>></dd>
|
|
<dd><a href="http://www.w3.org/People/chris/">Chris Lilley</a> (W3C) <<a href="mailto:chris@w3.org">chris@w3.org</a>></dd>
|
|
<dd><a href="http://mcc.id.au/">Cameron McCormack</a> (Invited Expert) <<a href="mailto:cam@mcc.id.au">cam@mcc.id.au</a>></dd>
|
|
<dd>Andreas Neumann (ETH Zurich)</dd>
|
|
<dd>Craig Northway (Canon, Inc.) <<a href="mailto:craign@cisra.canon.com.au">craign@cisra.canon.com.au</a>></dd>
|
|
<dd>Antoine Quint (Invited Expert) <<a href="mailto:aq@fuchsia-design.com">aq@fuchsia-design.com</a>></dd>
|
|
<dd>Nandini Ramani (Sun Microsystems)</dd>
|
|
<dd><a href="http://www.w3.org/People/Schepers/">Doug Schepers</a> (W3C) <<a href="mailto:schepers@w3.org">schepers@w3.org</a>></dd>
|
|
<dd>Andrew Shellshear (Canon, Inc.)</dd>
|
|
<dt>Authors:</dt>
|
|
<dd>See <a href="#AuthorList">author list</a>.</dd>
|
|
</dl>
|
|
<p>Please refer to the <a href="http://www.w3.org/2008/12/REC-SVGTiny12-20081222-errata.html"><strong>errata</strong></a> for this document, which may include some normative corrections.</p>
|
|
|
|
<p>This document is also available in these non-normative formats: a <a href="single-page.html">single-page version</a>, a <a href="REC-SVGTiny12-20081222.zip">zip archive of HTML</a> (without external dependencies), and a <a href="REC-SVGTiny12-20081222.pdf">PDF</a>. See also <a href=" http://www.w3.org/2003/03/Translations/byTechnology?technology=SVGTiny12"><strong>translations</strong></a>, noting that the English version of this specification is the only normative version.</p>
|
|
<!-- <edit:singlemulti/> -->
|
|
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2008 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p>
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<h2 id="specabstract"><a id="abstract" name="abstract">Abstract</a></h2>
|
|
|
|
<p>
|
|
This specification defines the features and syntax for
|
|
Scalable Vector Graphics (SVG) Tiny, Version 1.2, a language for describing
|
|
two-dimensional vector graphics in XML, combined with raster graphics and multimedia.
|
|
Its goal is to provide the ability to create a whole range of graphical
|
|
content, from static images to animations to interactive Web applications.
|
|
SVG 1.2 Tiny is a profile of SVG intended for implementation on a range of
|
|
devices, from cellphones and PDAs to laptop and desktop computers, and thus
|
|
includes a subset of the features included in
|
|
<a href="http://www.w3.org/TR/SVG/" title="Scalable Vector Graphics (SVG) 1.1 Specification">SVG 1.1 Full</a>,
|
|
along with new features to extend the capabilities of SVG. Further extensions
|
|
are planned in the form of modules which will be compatible with
|
|
SVG 1.2 Tiny, and which when combined with this specification, will match and
|
|
exceed the capabilities of
|
|
<a href="http://www.w3.org/TR/SVG/" title="Scalable Vector Graphics (SVG) 1.1 Specification">SVG 1.1 Full</a>.
|
|
</p>
|
|
|
|
|
|
<h2 id="status">Status of this document</h2>
|
|
<p>
|
|
<em>
|
|
This section describes the status of this document at the time of its
|
|
publication. Other documents may supersede this document. A list of current
|
|
W3C publications and the latest revision of this technical report can be
|
|
found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a>
|
|
at http://www.w3.org/TR/.
|
|
</em>
|
|
</p>
|
|
<p>
|
|
This is the 22 December 2008 Recommendation of SVG Tiny 1.2.
|
|
</p>
|
|
<p>
|
|
This document has been reviewed by W3C Members, by software developers, and by
|
|
other W3C groups and interested parties, and is endorsed by the Director as a
|
|
W3C Recommendation. It is a stable document and may be used as reference
|
|
material or cited from another document. W3C's role in making the Recommendation
|
|
is to draw attention to the specification and to promote its widespread
|
|
deployment. This enhances the functionality and interoperability of the Web.
|
|
</p>
|
|
<p>
|
|
The <a href="http://www.w3.org/Graphics/SVG/">SVG Working Group</a>
|
|
working closely with the developer community, has produced an
|
|
<a href="http://www.w3.org/Graphics/SVG/1.2/Tiny/ImpReport.html">implementation
|
|
report</a> to prove the implementability of this specification.
|
|
Previous drafts for this specification resulted in a number of comments
|
|
which have been addressed by the
|
|
<a href="http://www.w3.org/Graphics/SVG/">SVG Working Group</a>, with a
|
|
<a href="http://www.w3.org/Graphics/SVG/1.2/Tiny/dc.html">Disposition of Comments</a>
|
|
available on the W3C SVG site. A list of
|
|
changes made since the Proposed Recommendation Working Draft is available in
|
|
<a href="changes.html">Appendix T</a>.
|
|
</p>
|
|
<p>
|
|
As described in the abstract, this specification represents the core for a set
|
|
of modular extensions, but is named SVG Tiny for historical reasons, as a profile
|
|
for mobile devices. Future versions of this specification will maintain
|
|
backwards compatibility with previous versions of the language, in a continuing
|
|
line of technology, but will bear the name "SVG Core" to represent this
|
|
relationship.
|
|
</p>
|
|
<p>
|
|
Please send questions or comments regarding the SVG 1.2 Tiny specification
|
|
to <a href="mailto:www-svg@w3.org">www-svg@w3.org</a>,
|
|
the public email list for issues related to SVG. This list is
|
|
<a href="http://lists.w3.org/Archives/Public/www-svg/">archived</a> and
|
|
acceptance of this archiving policy is requested automatically upon first
|
|
post. To subscribe to this list send an email to
|
|
<a href="mailto:www-svg-request@w3.org">www-svg-request@w3.org</a> with the
|
|
word "subscribe" in the subject line.
|
|
</p>
|
|
<p>
|
|
This document has been produced by the
|
|
<a href="http://www.w3.org/Graphics/SVG/">SVG Working Group</a> as part of
|
|
the W3C <a href="http://www.w3.org/Graphics/Activity">Graphics Activity</a>,
|
|
following the procedures set out for the W3C
|
|
<a href="http://www.w3.org/Consortium/Process/">Process</a>. The authors
|
|
of this document are listed at the end in the
|
|
<a href="#AuthorList">Author List</a> section.
|
|
</p>
|
|
<p>
|
|
This document was produced by a group operating under the
|
|
<a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>.
|
|
W3C maintains a
|
|
<a rel="disclosure" href="http://www.w3.org/2004/01/pp-impl/19480/status">public list of any patent disclosures</a>
|
|
made in connection with the deliverables of the group; that page also includes
|
|
instructions for disclosing a patent. An individual who has actual knowledge
|
|
of a patent which the individual believes contains
|
|
<a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a>
|
|
must disclose the information in accordance with
|
|
<a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.
|
|
</p>
|
|
|
|
<div class="toc"><h2 id="minitoc">Table of Contents</h2><ul class="toc"><li>1 <a href="intro.html">Introduction</a></li><li>2 <a href="concepts.html">Concepts</a></li><li>3 <a href="render.html">Rendering Model</a></li><li>4 <a href="types.html">Basic Data Types</a></li><li>5 <a href="struct.html">Document Structure</a></li><li>6 <a href="styling.html">Styling</a></li><li>7 <a href="coords.html">Coordinate Systems, Transformations and Units</a></li><li>8 <a href="paths.html">Paths</a></li><li>9 <a href="shapes.html">Basic Shapes</a></li><li>10 <a href="text.html">Text</a></li><li>11 <a href="painting.html">Painting: Filling, Stroking, Colors and Paint Servers</a></li><li>12 <a href="multimedia.html">Multimedia</a></li><li>13 <a href="interact.html">Interactivity</a></li><li>14 <a href="linking.html">Linking</a></li><li>15 <a href="script.html">Scripting</a></li><li>16 <a href="animate.html">Animation</a></li><li>17 <a href="fonts.html">Fonts</a></li><li>18 <a href="metadata.html">Metadata</a></li><li>19 <a href="extend.html">Extensibility</a></li><li>Appendix A <a href="svgudom.html">The SVG Micro DOM (uDOM)</a></li><li>Appendix B <a href="svgudomidl.html">IDL Definitions</a></li><li>Appendix C <a href="implnote.html">Implementation Requirements</a></li><li>Appendix D <a href="conform.html">Conformance Criteria</a></li><li>Appendix E <a href="qa-ics.html">Conformance to QA Framework Specification Guidelines</a></li><li>Appendix F <a href="access.html">Accessibility Support</a></li><li>Appendix G <a href="i18n.html">Internationalization Support</a></li><li>Appendix H <a href="jpeg.html">JPEG Support</a></li><li>Appendix I <a href="minimize.html">Minimizing SVG File Sizes</a></li><li>Appendix J <a href="feature.html">Feature Strings</a></li><li>Appendix K <a href="elementTable.html">Element Table</a></li><li>Appendix L <a href="attributeTable.html">Attribute and Property Tables</a></li><li>Appendix M <a href="mimereg.html">Media Type Registration for image/svg+xml</a></li><li>Appendix N <a href="schema.html">RelaxNG Schema for SVG Tiny 1.2</a></li><li>Appendix O <a href="ecmascript-binding.html">ECMAScript Language Binding</a></li><li>Appendix P <a href="java-binding.html">Java Language Binding</a></li><li>Appendix Q <a href="perl-binding.html">Perl Language Binding</a></li><li>Appendix R <a href="python-binding.html">Python Language Binding</a></li><li>Appendix S <a href="refs">References</a></li><li>Appendix T <a href="changes.html">Change History</a></li></ul></div>
|
|
|
|
<p id="full-toc-link"><a href="expanded-toc.html">Full Table of Contents</a></p>
|
|
|
|
<h3 id="AuthorList">Authors</h3>
|
|
<p>
|
|
The authors of the SVG Tiny 1.2 specification are the people who
|
|
participated in the SVG Working Group as members or alternates.
|
|
</p>
|
|
<dl>
|
|
<dt id="author-title">Authors:</dt>
|
|
<dd id="authors">
|
|
<ul>
|
|
<li>Ola Andersson, Ikivo</li>
|
|
<li>Phil Armstrong, Corel Corporation</li>
|
|
<li>Henric Axelsson, Ericsson AB</li>
|
|
<li>Selim Balcısoy, Nokia</li>
|
|
<li>Robin Berjon, Expway</li>
|
|
<li>Benoît Bézaire, Itedo (formerly Corel Corporation)</li>
|
|
<li>John Bowler, Microsoft Corporation</li>
|
|
<li>Gordon Bowman, Corel Corporation</li>
|
|
<li>Craig Brown, Canon Information Systems Research Australia</li>
|
|
<li>Mike Bultrowicz, Savage Software</li>
|
|
<li>Tolga Çapin, Nokia</li>
|
|
<li>Milt Capsimalis, Autodesk Inc.</li>
|
|
<li>Mathias Larsson Carlander, Ericsson AB</li>
|
|
<li>Jakob Cederquist, Ikivo</li>
|
|
<li>Suresh Chitturi, Nokia</li>
|
|
<li>Charilaos Christopoulos, Ericsson AB</li>
|
|
<li>Richard Cohn, Adobe Systems Inc.</li>
|
|
<li>Lee Cole, Quark</li>
|
|
<li>Cyril Concolato, Groupe des Ecoles des Télécommunications (GET)</li>
|
|
<li>Don Cone, America Online Inc.</li>
|
|
<li>Erik Dahlström, Opera Software (<em>Working Group Chair</em>)</li>
|
|
<li>Alex Danilo, Canon Information Systems Research Australia</li>
|
|
<li>Thomas DeWeese, Eastman Kodak</li>
|
|
<li>David Dodds, Lexica</li>
|
|
<li>Andrew Donoho, IBM</li>
|
|
<li>David Duce, Oxford Brookes University</li>
|
|
<li>Jean-Claude Dufourd, Streamezzo (formerly GET)</li>
|
|
<li>Andrew Emmons, BitFlash (<em>Working Group Chair</em>)</li>
|
|
<li>Jerry Evans, Sun Microsystems</li>
|
|
<li>Jon Ferraiolo, Adobe Systems Inc.</li>
|
|
<li>藤沢 淳 (FUJISAWA Jun), Canon</li>
|
|
<li>Darryl Fuller, Schema Software</li>
|
|
<li>Scott Furman, Netscape Communications Corporation</li>
|
|
<li>Brent Getlin, Macromedia</li>
|
|
<li>Diego Gibellino, Telecom Italia</li>
|
|
<li>Christophe Gillette, Motorola (formerly BitFlash)</li>
|
|
<li>Peter Graffagnino, Apple</li>
|
|
<li>Rick Graham, BitFlash</li>
|
|
<li>Anthony Grasso, Canon Information Systems Research Australia</li>
|
|
<li>Niklas Hagelroth, Ikivo</li>
|
|
<li>Vincent Hardy, Sun Microsystems Inc.</li>
|
|
<li>端山 貴也 (HAYAMA Takanari), KDDI Research Labs</li>
|
|
<li>Scott Hayman, Research In Motion Limited</li>
|
|
<li>Stephane Heintz, OpenText (formerly BitFlash)</li>
|
|
<li>Lofton Henderson, OASIS</li>
|
|
<li>Jan Christian Herlitz, Excosoft</li>
|
|
<li>Ivan Herman, W3C</li>
|
|
<li>Alan Hester, Xerox Corporation</li>
|
|
<li>Olaf Hoffmann, Invited Expert</li>
|
|
<li>Bob Hopgood, RAL (CCLRC)</li>
|
|
<li>Bin Hu, Motorola</li>
|
|
<li>Michael Ingrassia, Nokia</li>
|
|
<li>石川 雅康 (ISHIKAWA Masayasu), W3C</li>
|
|
<li>Dean Jackson, W3C (<em>W3C Team Contact</em>)</li>
|
|
<li>Christophe Jolif, ILOG S.A.</li>
|
|
<li>Lee Klosterman, Hewlett-Packard</li>
|
|
<li>小林 亜令 (KOBAYASHI Arei), KDDI Research Labs</li>
|
|
<li>Thierry Kormann, ILOG S.A.</li>
|
|
<li>Yuri Khramov, Schema Software</li>
|
|
<li>Kelvin Lawrence, IBM</li>
|
|
<li>Håkon Lie, Opera</li>
|
|
<li>Chris Lilley, W3C (<em>Working Group Chair</em>)</li>
|
|
<li>Vincent Mahe, France Telecom</li>
|
|
<li>Philip Mansfield, Schema Software</li>
|
|
<li>Lee Martineau, Quickoffice</li>
|
|
<li>Charles McCathieNevile, Opera Software</li>
|
|
<li>Kevin McCluskey, Netscape Communications Corporation</li>
|
|
<li>Cameron McCormack, Invited Expert</li>
|
|
<li>水口 充 (MINAKUCHI Mitsuru), Sharp Corporation</li>
|
|
<li>Luc Minnebo, Agfa-Gevaert N.V.</li>
|
|
<li>Jean-Claude Moissinac, Groupe des Ecoles des Télécommunications (GET)</li>
|
|
<li>Tuan Nguyen, Microsoft Corporation</li>
|
|
<li>Craig Northway, Canon Information Systems Research Australia</li>
|
|
<li>小野 修一郎 (ONO Shuichiro), Sharp Corporation</li>
|
|
<li>Lars Piepel, Vodafone</li>
|
|
<li>Antoine Quint, Fuchsia Design (formerly ILOG)</li>
|
|
<li>णन्दिनि ऱमनि (Nandini Ramani), Sun Microsystems</li>
|
|
<li>Bruno David Simões Rodrigues, Vodafone</li>
|
|
<li>相良 毅 (SAGARA Takeshi), KDDI Research Labs</li>
|
|
<li>Troy Sandal, Visio Corporation</li>
|
|
<li>Peter Santangeli, Macromedia</li>
|
|
<li>Doug Schepers, W3C (formerly Vectoreal) (<em>W3C Team Contact</em>)</li>
|
|
<li>Sebastian Schnitzenbaumer, SAP AG</li>
|
|
<li>Haroon Sheikh, Corel Corporation</li>
|
|
<li>Andrew Shellshear, Canon Inc.</li>
|
|
<li>Brad Sipes, Ikivo</li>
|
|
<li>Andrew Sledd, Ikivo</li>
|
|
<li>Пётр Соротокин (Peter Sorotokin), Adobe Systems Inc.</li>
|
|
<li>Gavriel State, Corel Corporation</li>
|
|
<li>Robert Stevahn, Hewlett-Packard</li>
|
|
<li>Timothy Thompson, Eastman Kodak</li>
|
|
<li>上田 宏高 (UEDA Hirotaka), Sharp Corporation</li>
|
|
<li>Rick Yardumian, Canon Development Americas</li>
|
|
<li>Charles Ying, Openwave Systems Inc.</li>
|
|
<li>Shenxue Zhou, Quark</li>
|
|
<li>Atanas Zlatinski, Samsung Electronics</li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h3 id="Acknowledgments">Acknowledgments</h3>
|
|
|
|
<p>
|
|
The SVG Working Group would like to acknowledge the
|
|
many people outside of the SVG Working Group who help with the
|
|
process of developing the SVG specification. These people
|
|
are too numerous to list individually, but are greatly appreciated.
|
|
They include but are not limited to the early implementers of the SVG
|
|
languages (including viewers, authoring tools, and server-side
|
|
transcoders), developers of SVG content, people who have
|
|
contributed on the www-svg@w3.org and
|
|
svg-developers@yahoogroups.com email lists, other Working
|
|
Groups at the W3C, and the W3C Team. SVG 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,
|
|
and from public feedback.
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|