TinyLine SVG
TinyLine SVG implements an SVG Tiny 1.1+ engine for Android and Java platform (J2ME CLDC/MIDP, CDC/PP, J2SE).
TinyLine SVG allows incorporating SVG Tiny 1.1+ graphics into Android and Java applications.
Key features
- SVG Tiny 1.1+ engine
- Supports SVG fonts, raster image and text elements, paths
- Supports SMIL animations and events
- Allows both textual and gzipped SVG streams
- Compact code (around 100K in jar file)
- Easy to use API
Download free TinyLine SVG Viewer for Android
TinyLine SVG Viewer for Android
is a sample application from TinyLine SVG 2.1 for Android. It supports user interaction, SMIL animations and hyper linking.
Please read the TinyLine SVG Viewer for Android User Guide.
Changes in the TinyLine SVG 2.1
- Uses TinyLine 2D 2.1 Renderer.
- The assignment of 'descent' attributes is fixed in SVGFontElem.
- The calculations of getDevBounds() are corrected in SVGNode.
Now it takes the stroking parameters into consideration.
- The problem with SVG document transform calculations is solved.
The API changes include removing:
SVGRaster.setCamera()
SVGRaster.view
SVGRaster.origview
All above API elements were used for zooming and panning SVG document -
modifying root.transform via camera transform.
The function that was corrected is SVGSVGElem.recalcViewXform()
that calculates the SVG document transform SVGSVGElem.cameraXform that has the following components:
-
The current translate to the point (tx, ty)
(TinyMatrix) root.cameraXform.data[0]
-
The current scale factor (TinyMatrix) root.cameraXform.data[1]
The correction also simplifies zoom and pan calculations and the
corresponding changes could be found in com.tinyline.app.PlayerListener,
tinyapp.MouseHandler and other examples.
About SVG
This is the official
W3C overview of the Scalable Vector Graphics (SVG) format.
SVG 1.1, SVG 1.0 and
SVG Mobile Profiles
are Web standards (W3C Recommendations).
Work continues on SVG 1.2 and future profiles for Mobile and Printing.
|

TinyLine SVG Readme (PDF)
W3C SVG Tiny Test Suite using TinyLine SVG
Sample SVG Tiny files using TinyLine SVG
TinyLine SVG Implementation Status
TinyLine SVG Conformance Status
TinyLine SVG Programming Guide
TinyLine SVG Java API
TinyLine SVG Player 2.1 User Guide (CLDC/MIDP2.0)
TinyLine SVG Player 2.1 User Guide (Web)
Developers Forum
Contact
For questions, requests or suggestions please write to lab@tinyline.com.
|