emotion/aspect: Add API to configure the aspect ratio policy.
authorRafael Antognolli <antognolli@gmail.com>
Thu, 15 Sep 2011 18:51:33 +0000 (18:51 +0000)
committerRafael Antognolli <antognolli@gmail.com>
Thu, 15 Sep 2011 18:51:33 +0000 (18:51 +0000)
commit0c4dd42a0aa82aabdca48c6efd377af3312a1382
treeca5573bb39bd2216bc51e123bb8a5288bb9298b0
parent5c3474beedf7618b927844b699b5e38ad62548b0
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

SVN revision: 63416
legacy/emotion/src/examples/emotion_border_example.c
legacy/emotion/src/lib/Emotion.h
legacy/emotion/src/lib/emotion_smart.c