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

Name

svgdom::getNodeByID

Synopsis

          getNodeByID window \
             node
        

Description

The window pathName is stored as the ID of a group element.

Clients

Total client getNodeByID usage is: 13.

Example 8.4. ::dumper::arrow using getNodeByID

...


# Put the shape into the marker.
svgdom::addElement path  \
    [concat  \
    [list d $shape($type)] $properties] {}  \
    [svgdom::addToDefs  marker \
    [list id $ID  refX $refx($type)  orient "auto"  markerUnits userSpaceOnUse  markerWidth $b  markerHeight \
    [expr { 2*$c}]  viewBox $view($type)]  \
    [svgdom::getNodeByID $window \
    [svgdom::getRoot $_doc]]]
   



← ↖ →
dump ↑ addStyle
SourceForge Logo

Copyright © 2009–2010 Arndt Roger Schneider