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

Name

svgdom::addTextElement

Synopsis

          addTextElement kind \
             properties subelements pnode \
             doc
        

Description

Text and CDATA elements are created in different ways. Here a text object is created for subelements. and then inserted into the generated text node.

Clients

addTextElement is being used by ::svgdom::make.

Total client addTextElement usage is: 4.

Example 8.1. ::dumper::tabs2tspan using addTextElement

...

# Guard against lines without tabs.
if { -1 == \
    [string first \t $line] } {
svgdom::addTextElement tspan  \
    [concat \
    [list x $x dy $dy] $properties]  $line $tnode $_doc
   



← ↖ →
Chapter 8. SVG DOM-Tree Access ↑ getRoot
SourceForge Logo

Copyright © 2009–2010 Arndt Roger Schneider