根据指定的范围,以及指定的颜色描述,提取点阵信息,类似于大漠工具里的单独提取
| 1067 | |
| 1068 | // 根据指定的范围,以及指定的颜色描述,提取点阵信息,类似于大漠工具里的单独提取 |
| 1069 | STDMETHODIMP OpAutomation::FetchWord(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, BSTR word, BSTR *ret_str) { |
| 1070 | wstring s; |
| 1071 | obj.FetchWord(x1, y1, x2, y2, color, word, s); |
| 1072 | CComBSTR newstr; |
| 1073 | newstr.Append(s.data()); |
| 1074 | newstr.CopyTo(ret_str); |
| 1075 | return S_OK; |
| 1076 | } |
| 1077 | |
| 1078 | STDMETHODIMP OpAutomation::FetchWordEx(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim, BSTR word, |
| 1079 | BSTR *ret_str) { |
no test coverage detected