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

Name

dumper::zincNew

Synopsis

          zincNew window \
             type group coords \
             properties transformation ?wnode?
        

Description

ZincNew is similar to canvasNew. Some Zinc items require coordinate calculation; see »coordszinc«. Transformations have to be resolved, too; and added as a transformation »matrix« to the properties –the transformation matrix is an attribute under SVG and TkPath!

Groups and clipping items are not processed here.

Each Zinc item is a child of a »group«. The »group« parameter is used to identify its parent node–it was created using »groupv« (an abbreviation for group variable).

Clients

zincNew is being used by ::dumper::groupzinc, ::dumper::clipzinc, ::dumper::instantiate.

zincNew is being used by ::vgcode::dump-configure-Zinc clients.

Example 4.45. ::vgcode::dump-configure-Zinc using zincNew

...
# Now it's time to create the code generation stuff
# This part does only apply for those item not used
# to clip a parent group...
set generated \
    [dumper::zincNew $ta_name $type  $group $coords $properties $transformation]
   



← ↖ →
property ↑ styleTkPathNew
SourceForge Logo

Copyright © 2009–2010 Arndt Roger Schneider