bugzilla-daemon at freedesktop.org
2008-Nov-11 21:28 UTC
[Swfdec] [Bug 18488] New: BitmapData.fillRect not implemented
http://bugs.freedesktop.org/show_bug.cgi?id=18488
Summary: BitmapData.fillRect not implemented
Product: swfdec
Version: unspecified
Platform: Other
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.fillRect is apparently not implemented. The following haxe program
demonstrates the issue:
import flash.MovieClip;
import flash.display.BitmapData;
import flash.geom.Rectangle;
class Main {
public static inline var RECT_SIZE : Int = 25;
public static function main() {
var root : MovieClip = flash.Lib.current;
var mc1 : MovieClip = root.createEmptyMovieClip("mc1",
root.getNextHighestDepth());
var b1 : BitmapData = new BitmapData(RECT_SIZE, RECT_SIZE, false,
0xffff0000);
var mc2 : MovieClip = root.createEmptyMovieClip("mc2",
root.getNextHighestDepth());
var b2 : BitmapData = new BitmapData(RECT_SIZE, RECT_SIZE, true,
0xffff0000);
b1.fillRect(b1.rectangle, 0x80000000);
b2.fillRect(b2.rectangle, 0x80000000);
mc1.attachBitmap(b1, 1);
mc2.attachBitmap(b2, 1);
mc1._x = 0;
mc1._y = 0;
mc2._x = RECT_SIZE;
mc2._y = RECT_SIZE;
}
}
Expected result:
The movie should show a solid black square in the upper left corner, and
diagonally down from it a 50% transparent black square.
Actual result:
The movie shows two solid red squares.
I've attached a screenshot showing the rendered results in Adobe Flash (on
the
left), and in swfdec (on the right).
--
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:29 UTC
[Swfdec] [Bug 18488] BitmapData.fillRect not implemented
http://bugs.freedesktop.org/show_bug.cgi?id=18488 --- Comment #1 from MenTaLguY <mental at rydia.net> 2008-11-11 13:29:30 PST --- Created an attachment (id=20227) --> (http://bugs.freedesktop.org/attachment.cgi?id=20227) A screenshot comparing the rendering in Adobe Flash and swfdec -- 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:32 UTC
[Swfdec] [Bug 18488] BitmapData.fillRect not implemented
http://bugs.freedesktop.org/show_bug.cgi?id=18488 --- Comment #2 from MenTaLguY <mental at rydia.net> 2008-11-11 13:32:49 PST --- Created an attachment (id=20228) --> (http://bugs.freedesktop.org/attachment.cgi?id=20228) 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-14 19:39 UTC
[Swfdec] [Bug 18488] BitmapData.fillRect not implemented
http://bugs.freedesktop.org/show_bug.cgi?id=18488
Riccardo Magliocchetti <riccardo at datahost.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--
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-14 22:37 UTC
[Swfdec] [Bug 18488] BitmapData.fillRect not implemented
http://bugs.freedesktop.org/show_bug.cgi?id=18488 --- Comment #3 from MenTaLguY <mental at rydia.net> 2008-11-14 14:37:15 PST --- Can this please be given a higher priority? It is a very trivial patch, and I have a project which is blocked on this being implemented. (I'd give you a patch myself, except that I'm not sure what the project's stance is WRT the Flash player EULA at this point.) -- 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-21 14:41 UTC
[Swfdec] [Bug 18488] BitmapData.fillRect not implemented
http://bugs.freedesktop.org/show_bug.cgi?id=18488 --- Comment #4 from Riccardo Magliocchetti <riccardo at datahost.it> 2008-11-21 06:41:25 PST --- mental, this should be fixed in latest git. -- 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-23 09:22 UTC
[Swfdec] [Bug 18488] BitmapData.fillRect not implemented
http://bugs.freedesktop.org/show_bug.cgi?id=18488
MenTaLguY <mental at rydia.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
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.