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

Name

dumper::pathcanvas

Synopsis

          pathcanvas window \
             coords properties
        

Description

Separate processing the path item. Properties are already cleansed.

Example 4.25. pathcanvas

<path /> <!-- path in TkPath -->
<path d="M 100 100 L 356 100 L 200 300 z"
fill="red" ... />


Essentially, only coords processing. The »group« properties must be processed for TkPath 0.3.

Use group and window, to insert the path element. In cases where group is zero or unspecified, add the path element to the group identifying the »window«.

Clients

pathcanvas is being used by ::dumper::instantiate.

pathcanvas is being used by ::vgcode::dump-configure-PathCanvas, ::vgcode::dump-configure-Canvas clients.

Example 4.26. ::vgcode::dump-configure-PathCanvas using pathcanvas

...
# in the general fashion.

if {{path} == $type} {
append _graphics \
    [dumper::pathcanvas $ta_name $coords_l  \
    [dumper::itemproperties  $optsl $id {} $target]]
   



← ↖ →
itemproperties ↑ groupzinc
SourceForge Logo

Copyright © 2009–2010 Arndt Roger Schneider