Open GoogleCodeExporter opened 9 years ago
I was led to believe the platform supports images by the following example:
http://minijoe.com/ota/emulator?sid=9
Original comment by BusBusBus@gmail.com
on 13 Apr 2009 at 8:30
Looking at the code, it looks like image drawing via the canvas is possible but
currently that code is not written and that spot in the code as marked as a
TODO.
I've started working on that functionality, but my code is not yet working.
Original comment by maksim....@gmail.com
on 16 Apr 2009 at 9:43
The canvas is just included as an example and not part of the core javascript
engine.
However, supporting images would certainly be nice to have. Let me know if you
have a
patch.
Original comment by stefan.haustein
on 5 May 2009 at 12:15
Is this issue is been resolved.I was trying with the code from the SVN and got
the same above mentioned exception.Have you finished that part of the code or
if you da have a patch for this than please let me know.
Thanks in advance.
Original comment by bio.af...@gmail.com
on 19 Aug 2011 at 3:56
var canvas = document.getElementById("canvas"); var ctx = canvas.getContext("2d"); var img = new Image(); img.src = 'images/star.png'; ctx.drawImage(img,0,0);
What is the expected output? What do you see instead?
I've checked out the latest from the trunk. I am using windows XP, with WTK 2.5.1.
Please provide any additional information below.
Original issue reported on code.google.com by
BusBusBus@gmail.com
on 13 Apr 2009 at 4:53