http://bugs.freedesktop.org/show_bug.cgi?id=18487

           Summary: BitmapData.rectangle has wrong height
           Product: swfdec
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: library
        AssignedTo: swfdec@lists.freedesktop.org
        ReportedBy: [EMAIL PROTECTED]
         QAContact: swfdec@lists.freedesktop.org


BitmapData.rectangle.height is given the wrong value (the width instead of the
height).  The following haxe program demonstrates the problem:

 import flash.display.BitmapData;

 class Main {
     public static function main() {
         var b : BitmapData = new BitmapData(50, 60);
         trace("width = " + Std.string(b.width));
         trace("height = " + Std.string(b.height));
         trace("rectangle = " + Std.string(b.rectangle));
     }
 }

The expected output is:

 Main.hx:6: width = 50
 Main.hx:7: height = 60
 Main.hx:8: rectangle = (x=0, y=0, w=50, h=60)

The actual output with swfdec is:

 Main.hx:6: width = 50
 Main.hx:7: height = 60
 Main.hx:8: rectangle = (x=0, y=0, w=50, h=50)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
Swfdec mailing list
Swfdec@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/swfdec

Reply via email to