Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help/rest/speed.txt
diff options
context:
space:
mode:
Diffstat (limited to 'help/rest/speed.txt')
-rw-r--r--help/rest/speed.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/help/rest/speed.txt b/help/rest/speed.txt
new file mode 100644
index 0000000..8e723a2
--- /dev/null
+++ b/help/rest/speed.txt
@@ -0,0 +1,39 @@
+.. _speed:
+.. _speedup:
+.. _maxstep:
+
+.. index::
+ pair: menu item; Zooming speed
+ pair: command line option; speed
+ pair: command; speed
+ pair: command; maxstep
+ pair: command; speedup
+
+Zooming speed
+=============
+
+**Syntax**:(speed float)
+
+Change zooming speed, where 1 is the default, 2 means twice as fast, and so on.
+
+**Available as**: menu item, command line option, command
+
+In the scripting language you can use the following functions for better
+control:
+
+**Syntax**:(maxstep float)
+
+Selects the zooming/unzooming speed. The parameter specifies how much of the
+range will be removed each twentieth of a second; 0 means nothing, 1 means
+everything (the parameter obviously has to be less than 1). Higher values mean
+faster zooming.
+
+**Available as**: command
+
+**Syntax**:(speedup float) When zooming/unzooming, every twentieth of a second
+the speedup value is added to the current step until maxstep is reached. So
+this value selects the rate at which zooming stops and starts. Both these
+functions are more for internal use of XaoS then for manually written scripts,
+but they could come in useful nonetheless.
+
+**Available as**: command