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?

> > Hello,
> > 
> > I just noticed that edje has a problem regarding aspect calculation.
> > 
> > It seems there is a difference how aspect is defined for an image.
> > It's easy to demonstrate with a small example. The opposite problem
> > shows up if user has an image of size where width is smaller than
> > hight.
> > 
> > image size: 73x50 (image width larger than height)
> > 
> > aspect1: 73/50 = 1.46
> > aspect2: 50/73 = 0.684931507
> > 
> >   group { name: "MenuIcon";
> >     data {
> >        item: "pref_size" "327x330";
> >     }
> >     parts {
> >        part { name: "Image01";
> >           type: IMAGE;
> >           description { state: "default" 0;
> >              aspect: 1.46 1; // this works, but not: 1 0.684931507
> >              aspect_preference: BOTH;
> >              rel2 {
> >                 offset: 0 0;
> >              }
> >              image {
> >                 normal: "menu_icon.png";
> >                 middle: DEFAULT;
> >              }
> >              fill {
> >              }
> >           }
> >        }
> >     }
> >  }
> > 
> > Btw: is it possible that edje just calculates the aspect automatic
> > in a way that fits to image size? I didn't find out how to set this.
> > 
> > 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
> > 
> 
> 
> -- 
> ------------- Codito, ergo sum - "I code, therefore I am"
> -------------- The Rasterman (Carsten Haitzler)
> ras...@rasterman.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
> 


-- 
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