flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurice Amsellem <maurice.amsel...@systar.com>
Subject RE: MultiBitmapSource
Date Wed, 18 Sep 2013 20:07:37 GMT
I didn't know there was a ticket already.

Thanks guys.

Maurice 

-----Message d'origine-----
De : Alex Harui [mailto:aharui@adobe.com] 
Envoyé : mercredi 18 septembre 2013 22:03
À : dev@flex.apache.org
Objet : Re: MultiBitmapSource

Yes, but I think Justin opened one for you.  I think it is:

https://issues.apache.org/jira/browse/FLEX-33739

Please check and add yourself to the watch and vote.

-Alex

On 9/18/13 12:48 PM, "Maurice Amsellem" <maurice.amsellem@systar.com>
wrote:

>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.amsellem@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
>
>
>


Mime
View raw message