• ↖ 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
addElement
← Chapter 8. SVG DOM-Tree Access →

Name

svgdom::addElement

Synopsis

          addElement kind \
             properties subelements pnode
        

Description

Adds an element to the node identified as »pnode«.

Clients

addElement is being used by ::svgdom::addTextElement, ::svgdom::addStyle, ::svgdom::make.

Total client addElement usage is: 10.

Example 8.8. ::dumper::textitem using addElement

...
# stroke-width was once created from »-width« and
# has to be eliminated from the properties.  The
# text is split into chunks.
set tnode  \
    [svgdom::addElement text  \
    [concat $coords  \
    [resolve::property $properties  anchor text font linespace selection selectionfill  width stroke stroke-width]] {} $wnode]
   



← ↖ →
dump.vanilla ↑ Chapter 9. Tcl/Tk Parser
SourceForge Logo

Copyright © 2009–2010 Arndt Roger Schneider