Original Post
Hello! I'm working on a 2D project using C++ and DX9. All of the images being used are partially transparent PNG files with varying levels of opacity. I want to detect mouse clicks on regions of a given image that are not translucent. I guess I'm essentially trying to do a "pixel perfect" collision test between the mouse and an image. Help is appreciated :).