emotion/aspect: Add API to configure the aspect ratio policy.
authorantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 15 Sep 2011 18:51:33 +0000 (18:51 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 15 Sep 2011 18:51:33 +0000 (18:51 +0000)
commit224cad99af3508bcd1697278f787c0de151360d9
tree1e21633b3343579a574b3d906c7af33b275d2369
parent2f99965e322ad3835bc2f1c52575098858a02b44
emotion/aspect: Add API to configure the aspect ratio policy.

The new function emotion_object_keep_aspect_set() allow to set a policy
that will automatically change the emotion object border property, based
on the video aspect ratio and object current aspect ratio.

Possible values are:
 * EMOTION_ASPECT_KEEP_NONE
 * EMOTION_ASPECT_KEEP_WIDTH
 * EMOTION_ASPECT_KEEP_HEIGHT
 * EMOTION_ASPECT_KEEP_BOTH
 * EMOTION_ASPECT_CROP
 * EMOTION_ASPECT_CUSTOM

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63416 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/examples/emotion_border_example.c
src/lib/Emotion.h
src/lib/emotion_smart.c