Download Latest Version svgDOM-0.07.zip (168.9 kB)
Email in envelope

Get an email when there's a new version of svgDOM

Home / 0
Name Modified Size InfoDownloads / Week
Parent folder
svgDOM-0.07.zip 2018-12-09 168.9 kB
svgDOM-0.06.zip 2018-08-09 420.1 kB
svgDOM-0.05.zip 2018-08-09 419.9 kB
svgDOM_0.04.01.zip 2018-06-27 664.4 kB
svgDOM_0.04.zip 2018-06-21 577.7 kB
svgDOM_0.03.zip 2018-06-13 235.7 kB
svgDOM_0.02.zip 2018-06-12 184.4 kB
tcllib-1.19-extract.zip 2018-06-12 694.6 kB
Totals: 8 Items   3.4 MB 0
svgDOM
=======================================

svgDOM reads a svg-file and creates an object structure build of tclOO objects 
corresponding to the xml structure in the svg-file. The very first 
implementation of svgDOM is build to sum up all transformation and style 
information along the xml-path to a graphic node like circle, rectangle, 
polygon, ... and also path and create a new svg-structure with all the style
and transformation information in the graphic node, which is now positioned
absolutely. In the same step all graphic elements are converted to polygons
or polylines - especially the path element. 
This new svg-structure is much easier to handle in the tk::canvas to display
the svg-content now.


svgDOM requires the following packages:
    TclOO                   ... part of tcl 8.6
    fileutil                ... part of tcllib
    math            1.2.5   ... part of tcllib
    math::geometry          ... part of tcllib
    tdom                    ... part of most tcl-distributions
    
    
if some packages are not available in your environment, you can download them
from here:
    https://sourceforge.net/projects/tcllib/

    
svgDOM is used in 
    simplifySVG as a part cad4tcl 
        ... https://sourceforge.net/projects/cad4tcl
    rattleCAD 
        ... https://sourceforge.net/projects/rattlecad
    
    

Source: readme.txt, updated 2018-06-14