Is raising a JIRA directly the right approach to proposing new features or behavior change (such as the one below)?
Thanks Maurice -----Message d'origine----- De : Maurice Amsellem [mailto:maurice.amsel...@systar.com] Envoyé : mardi 17 septembre 2013 20:26 À : dev@flex.apache.org Objet : MultiBitmapSource Hi Community, MultiBitmapSource getSource(dpi) method is called 3 times in the SDK with exactly the same code: var app:Object = FlexGlobals.topLevelApplication; var dpi:Number; if ("runtimeDPI" in app) dpi = app["runtimeDPI"]; else dpi = DensityUtil.getRuntimeDPI(); var multiSource:Object = MultiDPIBitmapSource(source).getSource(dpi); Wouldn't it be better to have this code embedded in the MultiBitmapSource getSource() method ? The desiredDPI:Number arg could be made optional, so as not to break existing code, and use the above code when desiredDPI is NaN . Another advantage of this is that it will allow to use MBS with other classes, such as BitmapAssets. What do you think? Regards, Maurice