weimingtom / nekonme

Automatically exported from code.google.com/p/nekonme
0 stars 0 forks source link

Failing BitmapData::draw on DisplayObject with lines #206

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

var sprite = new Sprite();
sprite.graphics.lineStyle(1, 0x000000);//<--if remove this line - works
sprite.graphics.beginFill(0xff0000);
sprite.graphics.drawRect(10, 10, 80, 80);
sprite.graphics.endFill();
var bd = new BitmapData(100, 100, true, 0x00000000);
bd.draw(sprite);

Result: program error

What version of the product are you using? On what operating system?
nme 3.2.0, target: windows, OS: Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by cse...@gmail.com on 12 Mar 2012 at 5:34