- MineFinder . . . . 11 matches
86270.513 38.6 86270.513 38.6 18252086 CDC::GetPixel(int,int) (mfc42d.dll)
위의 결과를 보면, 가장 많이 호출되어 시간을 점유하는 것은 GetPixel와 PumpMessage이다. mfc의 함수와 윈도우 메세지드리븐 방식에 대해서는 수정할 수 없다 하더라도, 해당 함수에 대해서 호출 횟수를 줄이는 방법은 강구해야 할 것이다.
GetPixel 은 어디서 호출될까? Edit->Find in Files 를 하면 해당 프로젝트내에서 GetPixel이 쓰인 부분들에 대해 알 수 있다.
Searching for 'GetPixel'...
F:WorkingTempMinerFinderMinerBitmapAnalyzer.cpp(65): if (bmpdc->GetPixel (bmpStartX,bmpStartY) != rgbColor)
F:WorkingTempMinerFinderMinerBitmapAnalyzer.cpp(135): rgb = screendc->GetPixel (nX+nBi,nY+nBj);
GetPixel은 다음과 같은 화면 캡쳐로 얻은 비트맵에 대해 비교하여 같은 데이터임을 판독하는 부분에 쓰였다.
if (bmpdc->GetPixel (bmpStartX,bmpStartY) != rgbColor)
rgb = screendc->GetPixel (nX+nBi,nY+nBj);
rgb = screendc->GetPixel (nX+nBi,nY+nBj);
- 레밍즈프로젝트/프로토타입/SetBit . . . . 2 matches
ASSERT(RGB(155,155,0)==memdc->GetPixel(100,100));
[http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cdc.3a3a.setpixel.asp MSDN_SetPixel], [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cdc.3a3a.getpixel.asp MSDN_GetPixel]
Found 2 matching pages out of 7547 total pages (5000 pages are searched)
You can also click here to search title.