ericdrowell/KineticJS — pull request #15 by yusufsafak (2012-04-08 14:13:18+00:00)
Title: fixed drag&drop bug related to shape transform

Hi Eric,

When I used a shape centerOffset position with rotation or scale, drag&drop algorithm could not find correct shape position. I fixed it and added test case.

I found that new pixel detection eats too much memory when drawing a lot of shapes because imageData array is too large with stage dimensions.So I tried to calculate bounding box for each shape like svg.getBBox or Raphaeljs did but I haven't found correct solution for each shape yet. ( yusufsafak/KineticJS@77215f8f793dbd05974f8f1aa8d7c8beb59a8f40 )

Thanks.