• ↖ 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
canvas
← Chapter 3. Tcl- Code Generation →

Name

dumper::canvas

Synopsis

          canvas window \
             name sourcecode
        

Description

Create the graphics block for the given name.

Clients

canvas is being used by ::dumper::bindcanvas, ::dumper::canvas, ::dumper::canvasNew.

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

Example 3.13. ::vgcode::dump-configure-PathCanvas using canvas

...
# been added to the graphics section.  Warning: linear- radial-
# gradients are used across multiple canvases!

return \
    [dumper::canvas $ta_name \
    [winfo name \
    [string trimleft $target _]]  \
    [storeStyles]\
    [storeLineargradients]$_graphics];
   



← ↖ →
bindcanvas ↑ dotted
SourceForge Logo

Copyright © 2009–2010 Arndt Roger Schneider