int pixel(int x, int y) can be really useful for hit-testing. Canvas is
typically software-rendered, so there's no compelling reason not to allow
read-back of pixel values (as long as you don't try to do too much pixel
manipulation in script code).
This would *not* make sense on Surface, however, because it can be backed by a
GL framebuffer, which is quite expensive to read back.
Original issue reported on code.google.com by jgw@google.com on 27 May 2011 at 1:49
Original issue reported on code.google.com by
jgw@google.com
on 27 May 2011 at 1:49