aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/refman.tex24
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);}