[Swfdec] [Bug 18487] New: BitmapData.rectangle has wrong height
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Nov 11 13:04:41 PST 2008
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 at lists.freedesktop.org
ReportedBy: mental at rydia.net
QAContact: swfdec at 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.
More information about the Swfdec
mailing list