      */
     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;
        var fillScaleY:Number = 1;
        var roundedDrawX:Number = Math.round(drawX);
        var roundedDrawY:Number = Math.round(drawY);
        var fillWidth:Number = adjustedWidth;

    private var previousUnscaledHeight:Number;
    private var sourceInvalid:Boolean;
    private var loadFailed:Boolean;
	private var dpiScale:Number = 1;

    //----------------------------------
    //  bitmapData
