     private var previousUnscaledHeight:Number;
     private var sourceInvalid:Boolean;
     private var loadFailed:Boolean;
+	private var dpiScale:Number = 1;
 
     //----------------------------------
     //  bitmapData

     */
    override protected function measure():void
    {
        var dpiScale:Number = 1;
        var app:Object = FlexGlobals.topLevelApplication;
        if ("applicationDPI" in app && "runtimeDPI" in app && source is MultiDPIBitmapSource)
            dpiScale = app.runtimeDPI / app.applicationDPI;


        g.lineStyle();
        var repeatBitmap:Boolean = false;
        var fillScaleX:Number = 1/dpiScale;
        var fillScaleY:Number = 1/dpiScale;
        var roundedDrawX:Number = Math.round(drawX);
        var roundedDrawY:Number = Math.round(drawY);
        var fillWidth:Number = adjustedWidth;
