Rotation Example
================

.. |pic16| image:: /images/examples/canvas__rotation__py.png
   :width: 50%
   :align: middle

|pic16|

This example rotates a button using PushMatrix and
PopMatrix. You should see a static button with the
words 'hello world' rotated at a 45 degree angle.


.. _`rotation.py`:

File **canvas/rotation.py**
~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. include:: ../../../examples/canvas/rotation.py
    :code:
