Am Sat, 7 Jan 2012 22:38:29 +0100 schrieb Cedric BAIL:

> On Sat, Jan 7, 2012 at 9:32 PM, Andreas Volz <li...@brachttal.net>
> wrote:
> > Am Fri, 6 Jan 2012 20:18:07 +0900 schrieb Carsten Haitzler (The
> > Rasterman):
> >
> >> On Thu, 5 Jan 2012 19:47:16 +0100 Andreas Volz
> >> <li...@brachttal.net> said:
> >>
> >> ummmm.. you know aspect: X X2 is:
> >>
> >> aascpet: MINIMUM MAXIMUM;
> >>
> >> and they are width/wight... you are making maximum LESS than
> >> minimum... :)
> >
> > Ah, ok. Now I see the failure I've done! Thanks for pointing it out.
> >
> > Is there a way to let edje calculate correct aspect to fit original
> > image size without specifying it?
> 
> Now their is (well, not sure if it work in fact). If you set
> aspect_preference to SOURCE, it will take the aspect ratio of the
> source image.

This new feature works really nice!

I just looked over the API and don't understand this:

Edje.h:
typedef enum _Edje_Aspect_Control
{
   EDJE_ASPECT_CONTROL_NONE = 0,
   EDJE_ASPECT_CONTROL_NEITHER = 1,
   EDJE_ASPECT_CONTROL_HORIZONTAL = 2,
   EDJE_ASPECT_CONTROL_VERTICAL = 3,
   EDJE_ASPECT_CONTROL_BOTH = 4
} Edje_Aspect_Control;

Shouldn't there be a EDJE_ASPECT_CONTROL_SOURCE = 5 also in the public
API? And why is there an explicit int assignment in this enum? And what
is NEITHER? Never used it and it's not in edje_private.h
enum Edje_Internal_Aspect.

Is this all correct but I don't understand it?

regards
        Andreas

-- 
Technical Blog <http://andreasvolz.wordpress.com/>

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to