From d8c25aa60a7d38117726e47b994cf1db96ebfbe0 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Mon, 12 Nov 2001 10:53:16 +0000 Subject: Ajout des commandes de nommage de gradient. --- doc/refman.tex | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'doc') 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);} -- cgit v1.1