I just do not call these functions, better results but still not solved the problem.
I test and realized that GetPixel(dc, _x, _y ) is time-consuming. So when I put 500 - 1000 rectangle, I had 500 -1000 object in list and take a long time to process.
however I only 30ms to process all.
Added after 4 minutes:
I get color pixel screen from object's position. I used WinAPI approach to get it. Anything approach?





Reply With Quote
Bookmarks