I see... My bad, sorry. I'm too sleepy to think now, but a quick and dirty solution could maybe be that you draw a fully blue surface on a second, black surface with alpha. Haven't tested that. But really, I don't think any drawing is needed for a per-pixel hit check...