windrobin / flashcanvas

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

fillText does not render if it is the last canvas command #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Unzip the zipfile
2. Copy flashcanvas trunk to a subfolder called 'flashcanvas'
3. Run test1.html and test2.html

These two files are identical except for the order of drawing the image vs 
drawing the text.

> What is the expected output? What do you see instead?

Both tests should produce the same image, as they do with native canvas. 
Instead, test2.html only renders the fillText() once on the first frame using 
FlashCanvas.

> What version of the product are you using? On what operating system?

SVN revision 174.

Original issue reported on code.google.com by mccor...@gmail.com on 19 Mar 2011 at 10:07

Attachments:

GoogleCodeExporter commented 9 years ago
I can reproduce your problem. However, the bug is not in fillText() but in 
drawImage(). You can confirm that fact if you replace the drawImage() or 
fillText() in your code with fillRect() or something.

While I confirmed that FlashCanvas Pro didn't have this problem, open-source 
edition of FlashCanvas still has problems in drawImage(). So, please use 
FlashCanvas Pro until I backport the drawImage() code.

Original comment by revu...@gmail.com on 19 Mar 2011 at 6:52

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r216.

Original comment by revu...@gmail.com on 8 Aug 2011 at 2:12