aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlecoanet2004-11-12 08:53:21 +0000
committerlecoanet2004-11-12 08:53:21 +0000
commitf14d4bce66aad04fc28031245ee7e512a396561b (patch)
tree2c696515bfdf1ff6b6ac5acb26174ab649c14896
parent5a4b14de31ff35df2e4b30d6946970f9708dc2ee (diff)
downloadtkzinc-f14d4bce66aad04fc28031245ee7e512a396561b.zip
tkzinc-f14d4bce66aad04fc28031245ee7e512a396561b.tar.gz
tkzinc-f14d4bce66aad04fc28031245ee7e512a396561b.tar.bz2
tkzinc-f14d4bce66aad04fc28031245ee7e512a396561b.tar.xz
Updated and clarified the meaning of -render
-rw-r--r--doc/refman.tex21
1 files changed, 16 insertions, 5 deletions
diff --git a/doc/refman.tex b/doc/refman.tex
index ca12781..ea242d0 100644
--- a/doc/refman.tex
+++ b/doc/refman.tex
@@ -714,10 +714,21 @@ actual source of the default color. Its default value is
\option{render}{render}{Render}
\begin{blockindent}
- Specifies whether to use or not the openGL rendering. When True, requires the GLX
- extension to the X server. Must be defined at widget creation time. This option is
- readonly and can be used to ask if the widget is drawing with the GLX extension or
- in plain X (to adapt the application code for example). The default value is {\tt false}.
+ Specifies whether to use or not the openGL rendering. The value is
+ a positive integer that can have the values 0, 1 and 2. The value 0
+ specifies a X11 rendering while the other two ask for an OpenGL
+ rendering and as such requires the GLX extension to the X server.
+ A value of 1 asks for direct OpenGL rendering which is the faster but
+ is limited to a local session with the display while a value of 2
+ requests an indirect rendering which is slower but can be streamed
+ to a distant display (at least under X11). If a direct rendering
+ mode is requested but can't be achieved the indirect render mode
+ will be tried automatically. If neither OpenGL modes are available
+ the X11 mode is used as a fallback.
+ This option must be defined at widget creation time and is readonly
+ for the rest of the session. It can be used to ask if the widget is
+ drawing in OpenGL mode or in plain X mode (to adapt the
+ application code for example). The default value is {\tt 0}.
\end{blockindent}
\option{reshape}{reshape}{Reshape}
@@ -2272,7 +2283,7 @@ false.
\zinccmd{hasanchors}{tagOrId}
-{\tt\large \$bool = \$zinc->{\bf hasanchor}(tagOrId);}
+{\tt\large \$bool = \$zinc->{\bf hasanchors}(tagOrId);}
\begin{blockindent}
This command returns a boolean telling if the item specified by {\tt tagOrId} supports