MCPcopy Create free account
hub / github.com/WallBreaker2/op / FindStrEx

Method FindStrEx

libop/com/OpAutomation.cpp:1274–1283  ·  view source on GitHub ↗

返回符合color_format的所有坐标位置

Source from the content-addressed store, hash-verified

1272}
1273// 返回符合color_format的所有坐标位置
1274STDMETHODIMP 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
1285STDMETHODIMP OpAutomation::OcrAuto(LONG x1, LONG y1, LONG x2, LONG y2, DOUBLE sim, BSTR *retstr) {
1286 wstring s;

Callers 1

OpFindStrExFunction · 0.45

Calls 2

CopyToMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected