• ↖ 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
makeGradient
← Chapter 6. SVG Import DOM-Tree Parser-Converter to Tcl/Tk →

Name

vgcode::makeGradient

Synopsis

          makeGradient node \
             ?tkpRoot? ?buffer? ?type? \
             ...
        

Description

Gradient, is defined inside a defs section this can be a local defs section in a group, a local SVG and also a global SVG. This means the generated gradient definitions have to be kept and potential reused. A possible way is to put the gradient in a separate procedure. And then to reuse the procedure to create the gradient?

ID the radial variable name. cx cy r fx fy radialtransition x1 y1 x2 y2 lineartransition

TclDumper, features two versions one for TkPath 0.2 and another for TkPath 0.3. Default is –like anything else here 0.3.

Clients

makeGradient is being used by ::vgcode::analyzeLinearGradient, ::vgcode::analyzeRadialGradient.


← ↖ →
makeText ↑ analyzePolygon
SourceForge Logo

Copyright © 2009–2010 Arndt Roger Schneider