Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e3204b42 authored by d34d's avatar d34d Committed by Clark Scheff
Browse files

Themes: Add rotation and translation to composed icons

This feature allows a theme to specify a rotation and translation
in addition to scaling the original icon when composing.

To use this new feature a theme designer will need to include the
<rotate /> and/or <translate /> tags with the following syntax:

<rotate angle="angle_to_rotate" />
    where angle_to_rotate can be from 0 to 360 degrees

<translate xOffset="x_value" yOffset="y_value" />
    where x_value and y_value are device indipendent pixels
    and can be any value (both positive and negative depending
    on which way you want to move the icon)

ex:
<rotate angle="45"/>
<translate xOffset="-10" yTranslate="15"/>

Change-Id: I37ccf7861d22ee3aa21fce25e7e1b1afc49b3bcc
parent 83670bf2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment