Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help/rest/morphangle.txt
diff options
context:
space:
mode:
Diffstat (limited to 'help/rest/morphangle.txt')
-rw-r--r--help/rest/morphangle.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/help/rest/morphangle.txt b/help/rest/morphangle.txt
new file mode 100644
index 0000000..fdbccd2
--- /dev/null
+++ b/help/rest/morphangle.txt
@@ -0,0 +1,24 @@
+.. _morphangle:
+
+.. index::
+ pair: command; morphangle
+
+Morph angle
+===========
+
+**Syntax**:(morphangle float) Smoothly rotate the image to another angle. By
+default rotation causes recalculation of the whole screen. To avoid this you
+need to enable :ref:`fast rotate mode <rotate>`. Don't forget to disable it
+later, since it slows down other animations.
+
+A simple "rotozooming" animation::
+
+ (initstate)
+ (fastrotate #t)
+ (morphview -1.64128273713 -5.50393226816E-05 9.69332308848E-08 9.69332308834E-08)
+ (morphangle 300)
+ (usleep 10000000)
+ (wait)
+ (fastrotate #f)
+
+**Available as**: command