bugzilla-daemon at freedesktop.org
2008-Nov-11 21:04 UTC
[Swfdec] [Bug 18487] New: BitmapData.rectangle has wrong height
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.
bugzilla-daemon at freedesktop.org
2008-Nov-11 21:36 UTC
[Swfdec] [Bug 18487] BitmapData.rectangle has wrong height
http://bugs.freedesktop.org/show_bug.cgi?id=18487 --- Comment #1 from MenTaLguY <mental at rydia.net> 2008-11-11 13:36:31 PST --- Created an attachment (id=20229) --> (http://bugs.freedesktop.org/attachment.cgi?id=20229) A .swf compiled from the above example code -- 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.
bugzilla-daemon at freedesktop.org
2008-Nov-13 09:21 UTC
[Swfdec] [Bug 18487] BitmapData.rectangle has wrong height
http://bugs.freedesktop.org/show_bug.cgi?id=18487
Benjamin Otte <otte at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Benjamin Otte <otte at gnome.org> 2008-11-13 01:21:15
PST ---
I had actually fixec it in master, but not in 0.8. Now it's fixed there,
too.
--
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.