On Sat, 7 Jan 2012 13:06:30 +0900 Hyoyoung Chang <hyoyo...@gmail.com> said:
> Dear all > > when drag&drop image from elm_photo, elm_cnp_helper makes elm_icon > from the source. > but some non-square images are displayed correctly(due to aspect > ratio, some region is black). > I added aspect_fixed functions to elm_icon and using it in elm_cnp_helper actually... why would you want it to NOT respect aspect ratio? then you just end up with a "squashed" icon. why not just ensure the icon window being dragged has an alpha channel and those "black" bits are blank/empty? -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel