These examples show the areas of SVG currently implemented.
This is provided so that others can see how to write the svg elements and the result to expect.
The SVG xml data is capable of any type of drawing, from simple lines and shapes to complex shading, colouring and transformations.
Currently only a small set of the possibilities are implemented.
Lines can be draw, they map directly to PDF data.
The rectangle is a simple shape, which maps directly
to PDF data.
The circle and ellipse are drawn by creating four curves that make up the shape.
All shapes can have style applied to them. Style can also be inherited from a surrounding <svg:g> element.
There are many possible parts to a path. There are simple moveto, lineto and closepath commands. There are also a number of curve commands that create Bezier curves etc.
The only difference between the polyline and the polygon is that a polygon has a close path at the end.
The transform of an element can do all the usual mathematical transforms. These can be represented by a matrix for use in the pdf. The options include translate, scale, rotate, shear etc.
The transform of an element is accumulative from its ancestors. That is, if a transform is applied to a <svg:g> element then any graphic element also has that transform applied to it. If the child element has a transform then its transform is also applied after the transform of the parent.
Not yet implemented. The SVG area is clipped to start with.