This document lists the features supported by the
TinyLine SVG viewer.
Changes in the TinyLine SVG Toolkit 1.1
The major advance over the previous version 1.0.1 is
that TinyLine now supports pixed point coordinates and declarative
SMIL 2.0 Basic
Profile animations. TinyLine now supports modification of Tiny
SVG graphics through Tiny Object Model which allows dynamic updates to SVG
documents in response to user events and animations of graphical
elements.
Document Structure
TinyLine supports the <svg> , <title>, <desc>
<defs> and <metadata> elements as defined in SVGT.
TinyLine currently does not support <use> element.
TinyLine supports the JPEG and GIF formats on the <image>
element.
The <switch> element is not supported.
Styling
TinyLine does not support CSS
(Cascading Style Sheets).
In order to simplify parsing TinyLine uses
presentation attributes and property inheritance rules.
Coordinate Systems, Transformations and Units
Coordinate systems in TinyLine are fixed point numbers as well as
angles scales and other attributes. The finite useable coordinate range
is defined by the scope of signed 16-bit integers.
TinyLine supports 22.8 and 15.15 fixed point numbers.
TinyLine supports nesting of transformations. The
types of transformations that are allowed are generic transformation
matrices, or simple operations such as rotation, scaling, skewing, and
translation.
Shapes
TinyLine supports all SVGT/SVGB path commands, except the
elliptical arc curve command ("A"(absolute) and "a"(relative)).
It also supports the basic shapes (rectangles, circles, ellipses, lines,
polylines, and polygons)
Text
TinyLine represents text with Unicode characters. It supports the
SVGT <text> element.
Color
TinyLine supports colors defined by 'color' property in sRGB
color space using '#FFFFFF' notation , and 16 color keywords defined
in HTML.
Fonts
In order to use fonts across platforms TinyLine supports SVG fonts
with glyph outlines expressed using the "d" attribute on the <glyph>
element.
TinyLine doesn't use system fonts.
Interactivity
SVGT content can be interactive (i.e., responsive to user-initiated events) by
utilizing the Tiny Object Model elements:
- TOMBitmap
- TOMCanvas
- TOMCompositeNode
- TOMNode
- TOMRenderer
- TOMRootNode
- TOMShapeNode
- TOMTextNode
Animation
TinyLine supports the subset of SMIL 2.0 Basic Profile animations:
- The animateColor element
- The animateTransform element
- The animateMotion element
In the animateMotion element I followed the SMIL 2.0 Basic Profile
definition:
The animateMotion element will move an element along a path. The path can be
described in either of two ways:
- Specifying x,y pairs for the from/to/by attributes. These will define a
straight line motion path.
- Specifying x,y pairs for the values attribute.
This will define a motion path of straight line segments, or points (if
calcMode is set to discrete). This will override any from/to/by attribute
values.
From my point of view the implementation of mpath element is not practical
for mobile devices at least in Java.
References
- [Mobile SVG]
- Mobile SVG Profiles: SVG Tiny and SVG Basic Tolga K. Capin, editor,
W3C, W3C Candidate Recommendation 30 April 2002 See http://www.w3.org/TR/SVGMobile
- [SMIL20]
- Synchronized Multimedia Integration Language (SMIL 2.0)
Specification.W3C Recommendation.
Available at
http://www.w3.org/TR/smil20/
- [SVG 1.0]
- Scalable Vector Graphics (SVG) 1.0 Specification, Jon Ferraiolo,
editor, W3C, 9 September 2001 (Recommendation). See http://www.w3.org/TR/2001/REC-SVG-20010904/
- [SVG 1.1/2.0 Requirements]
- SVG 1.1/2.0 Requirements Document, Dean Jackson, editor, W3C, 3
August 2001.
See http://www.w3.org/TR/SVG2Reqs
- [SVG 1.1]
- Scalable Vector Graphics (SVG) Version 1.1 Working Draft, Dean
Jackson, editor, W3C, 15 February 2002. See http://www.w3.org/TR/2002/WD-SVG11-20020215/
Appendix A: Element Index
Element |
TinyLine 1.1 |
a |
|
animate |
|
animateColor |
|
animateMotion |
|
animateTransform |
|
circle |
|
definition-src |
|
defs |
|
desc |
|
ellipse |
|
font |
|
font-face |
|
foreignObject |
|
g |
|
glyph |
|
hkern |
|
image |
|
line |
|
metadata |
|
missing-glyph |
|
mpath |
|
path |
|
polygon |
|
polyline |
|
rect |
|
script |
|
set |
|
solidColor |
|
style |
|
svg |
|
switch |
|
text |
|
title |
|
use |
|
vkern |
|
Last modified: Friday, July 19, 2002
Please send comments to :andrewgirow@yahoo.com
Copyright © 2002,
Andrew Girow. All rights reserved.