• ↖ 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
styleTkPathNew
← Chapter 4. SVG- Code Generation →

Name

dumper::styleTkPathNew

Synopsis

          styleTkPathNew ID \
             window optsl
        

Description

Generate code for a named style, here the ID must be used in combination with the window. That is, the window will be mapped as a group and the style is part of the group's defs block.

strip the option's name of their leading minus sign (-).

Windows construct a new »viewport« using the <svg/> tag, the <defs/> section is moved from the »group« <g/> up, directly underneath the viewport <svg/>.

This does not affect styles; processed with »styleTkPathNew«, which are regular elements of a »PathCanvas« window! Don't get confused about window styles here.

Clients

styleTkPathNew is being used by ::vgcode::style clients.

Example 4.46. ::vgcode::style using styleTkPathNew

...
lappend optsl \
    [dumper::property $attr $value]
}

append _styles \
    [dumper::styleTkPathNew $param $ta_name $optsl]
   



← ↖ →
zincNew ↑ isGroupMade
SourceForge Logo

Copyright © 2009–2010 Arndt Roger Schneider