返回符合color_format的所有坐标位置
| 1272 | } |
| 1273 | // 返回符合color_format的所有坐标位置 |
| 1274 | STDMETHODIMP OpAutomation::FindStrEx(LONG x1, LONG y1, LONG x2, LONG y2, BSTR strs, BSTR color, DOUBLE sim, |
| 1275 | BSTR *retstr) { |
| 1276 | wstring s; |
| 1277 | obj.FindStrEx(x1, y1, x2, y2, strs, color, sim, s); |
| 1278 | |
| 1279 | CComBSTR newstr; |
| 1280 | newstr.Append(s.data()); |
| 1281 | newstr.CopyTo(retstr); |
| 1282 | return S_OK; |
| 1283 | } |
| 1284 | |
| 1285 | STDMETHODIMP OpAutomation::OcrAuto(LONG x1, LONG y1, LONG x2, LONG y2, DOUBLE sim, BSTR *retstr) { |
| 1286 | wstring s; |
no test coverage detected