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:
authorBernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
commit1030dc837b10a03a02a85d5504cbeec168ce49e2 (patch)
tree698eefa87ac437deaf36a4141b326f8ce7986692 /help/rest/morphangle.txt
Import XaoS r489 (trunk after version 3.5)
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