diff options
author | lecoanet | 2001-11-12 10:53:16 +0000 |
---|---|---|
committer | lecoanet | 2001-11-12 10:53:16 +0000 |
commit | d8c25aa60a7d38117726e47b994cf1db96ebfbe0 (patch) | |
tree | 9d400aecdd477d1cafb09b0036d7297fc76593f1 | |
parent | 88ef546e9749a024b9fc89378025f260aadf907d (diff) | |
download | tkzinc-d8c25aa60a7d38117726e47b994cf1db96ebfbe0.zip tkzinc-d8c25aa60a7d38117726e47b994cf1db96ebfbe0.tar.gz tkzinc-d8c25aa60a7d38117726e47b994cf1db96ebfbe0.tar.bz2 tkzinc-d8c25aa60a7d38117726e47b994cf1db96ebfbe0.tar.xz |
Ajout des commandes de nommage de gradient.
-rw-r--r-- | doc/refman.tex | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/refman.tex b/doc/refman.tex index ad6ba28..8355590 100644 --- a/doc/refman.tex +++ b/doc/refman.tex @@ -990,6 +990,16 @@ reference) and all list parameters are given as array references. command to force the focus to the widget window. \end{blockindent} +\zinccmd{gdelete}{name} + +{\tt\large \$zinc->{\bf gdelete}('fading');} + +\begin{blockindent} + This command breaks the binding between the given gradient name and + the named gradient. When the gradient will be no longer used it will + be deallocated. +\end{blockindent} + \zinccmd{gettags}{tagOrId} {\tt\large @tags = \$zinc->{\bf gettags}(tagOrId);} @@ -1002,6 +1012,20 @@ reference) and all list parameters are given as array references. then the empty list is returned. \end{blockindent} +\zinccmd{gname}{gradient name} + +{\tt\large \$zinc->{\bf gname}('black:100|white:0/0', 'fading');} + +\begin{blockindent} + This command sets a name binding between the given gradient + description and the given name. The name can be used in the + same way the gradient description would be. The gradient + will not be deallocated until the \cmdref{gdelete} command is + invoqued on the name (and no item use the gradient). This feature + can be a big performance gain when using many gradients in + an animation, the name acts here as a caching mecanism. +\end{blockindent} + \zinccmd{group}{tagOrId} {\tt\large \$group = \$zinc->{\bf group}(tagOrId);} |