- Sep 10, 2001
- 11,711
- 8
- 81
Ok so capturing mouse movement in regular shapes like squares is easy, but what if you have several irregular shape objects on your screen and you want to determine when the user's mouse pointer enters those irregular shapes..
or to put it another way, if you wanted to draw a box and then highlight the box when someone mouses over it, that's easy- but what if you wanted to highlight someone mousing over something like a blob of solid color ?
just give me a rough idea of what the "best practice" or most efficient algorithm for such a task would do in general
or to put it another way, if you wanted to draw a box and then highlight the box when someone mouses over it, that's easy- but what if you wanted to highlight someone mousing over something like a blob of solid color ?
just give me a rough idea of what the "best practice" or most efficient algorithm for such a task would do in general