• ↖ Home
  • Developer´s Guide
    • ↑ Contents
    • Code
    • Embedding
    • Tcl
    • SVG
    • SVG-Import
    • Projects
    • License
    • Index
  • Download
    • Jeszra: Source Code

    • Ruby Wrapper Classes
    • Python Wrapper Classes
    • Lisp Wrapper Classes
  • Books@Lulu.com...
    • Jeszra: Design by Gestalt
    • Jeszra Library: Design by Gestalt

    • Gestalt Items
    • Runtime Library
  • Manual
    • Jeszra Book

    • Tcl Manual
    • Ruby Manual
    • Python Manual
    • Lisp Manual

    • API
  • About
make
← Chapter 8. SVG DOM-Tree Access →

Name

svgdom::make

Synopsis

          make toplevel \
             ?xml?
        

Description

Create a DOM tree for the »toplevel« window; must be a child of root ».«.

The preamble is internal created whenever »xml« is omitted. Be aware any attribute for the toplevel window will be skipped.

Predefined pattern –from can2svg– are wrong. Tested with safari 4.0 and reimplemented accordingly. A path element must be used for the pattern and it has to be rotated in order to match Tk's version exactly, done.

Clients

make is being used by ::dumper::make clients.

Example 8.7. ::dumper::make using make

...
clear ;# ...the DOM tree

# Window is required to define the viewbox.
set _doc \
    [svgdom::make $window]
   



← ↖ →
addToDefs ↑ dump.vanilla
SourceForge Logo

Copyright © 2009–2010 Arndt Roger Schneider