#pragma once #include "ocrbase.h" #include "OcrScreen.h" #include using namespace std; class OcrLine : public OcrBase { public: ULONG m_MatchCount; map m_SundayKeyLine; POINT m_pt; OcrLine(PBYTE pBits,POINT pt,SIZE size); virtual ~OcrLine(void); void GetLineKey(COLORPOINT &startpt,COLORPOINT &endpt); BOOL CheckKeyMatch(OcrScreen &fullPic, POINT &start1, OCRCOLOR color); void CheckMatch(OcrScreen &fullPic, POINT &start1, OCRCOLOR color); void ClearRecord(); void MakeSundayLine(); ULONG CheckSundayLine(OcrScreen &fullPic, POINT &start1, OCRCOLOR color); };